You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** heartbeatFrequencyMS controls when the driver checks the state of the MongoDB deployment. Specify the interval (in milliseconds) between checks, counted from the end of the previous check until the beginning of the next one. */
125
125
heartbeatFrequencyMS?: number;
126
-
/** Specify a custom app name. */
126
+
/** The name of the application that created this MongoClient instance. MongoDB 3.4 and newer will print this value in the server log upon establishing each connection. It is also recorded in the slow query log and profile collections */
/** Enable the wrapping of the callback in the current domain, disabled by default to avoid perf hit */
188
-
domainsEnabled?: boolean;
189
-
/** Validate MongoClient passed in options for correctness */
190
-
validateOptions?: boolean;
191
-
/** The name of the application that created this MongoClient instance. MongoDB 3.4 and newer will print this value in the server log upon establishing each connection. It is also recorded in the slow query log and profile collections */
192
-
appname?: MongoURIOptions['appName'];
193
177
/** The auth settings for when connection to server. */
194
178
auth?: Auth;
195
179
/** Type of compression to use?: snappy or zlib */
/** If present, the connection pool will be initialized with minSize connections, and will never dip below minSize connections */
202
-
minSize?: number;
203
-
/** Determines whether or not to use the new url parser. Enables the new, spec-compliant, url parser shipped in the core driver. This url parser fixes a number of problems with the original parser, and aims to outright replace that parser in the near future. Defaults to true, and must be explicitly set to false to use the legacy url parser. */
204
-
useNewUrlParser?: boolean;
205
-
/** Enables the new unified topology layer */
206
-
useUnifiedTopology?: boolean;
207
185
/** Optionally enable client side auto encryption */
208
186
autoEncryption?: AutoEncryptionOptions;
209
187
/** Allows a wrapping driver to amend the client metadata generated by the driver to include information about the wrapping driver */
0 commit comments