Remove warning for invalid MongoDB driver option (#3952)

This commit is contained in:
Tyler Brock
2017-06-25 10:00:54 -07:00
committed by Florent Vilmart
parent d094a70a3b
commit fedb381925

View File

@@ -98,6 +98,7 @@ export class MongoStorageAdapter {
// MaxTimeMS is not a global MongoDB client option, it is applied per operation.
this._maxTimeMS = mongoOptions.maxTimeMS;
delete mongoOptions.maxTimeMS;
}
connect() {