File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
source/connect/connection-options Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,14 @@ a ``MongoClient`` with an instance of the custom server selector class from the
82
82
:copyable: true
83
83
:start-after: // start-selector
84
84
:end-before: // end-selector
85
+ :dedent:
85
86
86
87
Use Settings to Configure Server Selection
87
88
------------------------------------------
88
89
89
- You can specify the following server selection settings in your ``MongoClient`` object or
90
- in your connection URI:
90
+ You can specify the following server selection settings in your connection URI,
91
+ a ``MongoClientSettings`` object (for the ``localThreshold`` setting), or a ``ClusterSettings`` object
92
+ (for the ``readPreference`` and ``serverSelectionTimeout`` settings):
91
93
92
94
.. list-table::
93
95
:widths: 30 70
You can’t perform that action at this time.
0 commit comments