File tree 1 file changed +11
-0
lines changed
source/fundamentals/connection
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -363,6 +363,17 @@ relevant options.
363
363
| **Default**: ``null``
364
364
| **Connection URI Example**: {+not-available+}
365
365
366
+ * - **ServerMonitoringMode**
367
+ - | Specifies the server monitoring protocol to use. When
368
+ | this option is set to ``Auto``, the monitoring mode is determined
369
+ | by the environment in which the driver is running. The driver
370
+ | uses polling mode in function-as-a-service (FaaS) environments,
371
+ | such as AWS Lambda, and the streaming mode in other environments.
372
+ |
373
+ | **Data Type**: `ServerMonitoringMode <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Servers.ServerMonitoringMode.html>`__
374
+ | **Default**: ``Auto``
375
+ | **Connection URI Example**: ``serverMonitoringMode=poll``
376
+
366
377
* - **Servers**
367
378
- | The cluster members where MongoDB is running.
368
379
|
You can’t perform that action at this time.
0 commit comments