Skip to content

Commit 167850d

Browse files
committed
Add defaults
1 parent 77eef82 commit 167850d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/mongo_client.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,6 @@ export interface MongoClientOptions
170170
reconnectTries?: number;
171171
/** Server will wait number of milliseconds between retries */
172172
reconnectInterval?: number;
173-
/** Control if high availability monitoring runs for Replicaset or Mongos proxies */
174-
ha?: boolean;
175-
/** The High availability period for replicaset inquiry */
176-
haInterval?: number;
177173
/** Force server to assign `_id` values instead of driver */
178174
forceServerObjectId?: boolean;
179175
/** Return document results as raw BSON buffers */
@@ -188,10 +184,6 @@ export interface MongoClientOptions
188184
loggerLevel?: LogLevel;
189185
/** Custom logger object */
190186
logger?: Logger;
191-
/** Enable the wrapping of the callback in the current domain, disabled by default to avoid perf hit */
192-
domainsEnabled?: boolean;
193-
/** Validate MongoClient passed in options for correctness */
194-
validateOptions?: boolean;
195187
/** The auth settings for when connection to server. */
196188
auth?: Auth;
197189
/** Type of compression to use?: snappy or zlib */

0 commit comments

Comments
 (0)