Skip to content

Commit 08d20a5

Browse files
committed
Fix
1 parent 7d062ba commit 08d20a5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/connect/connection-options/server-selection.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,14 @@ a ``MongoClient`` with an instance of the custom server selector class from the
8282
:copyable: true
8383
:start-after: // start-selector
8484
:end-before: // end-selector
85+
:dedent:
8586

8687
Use Settings to Configure Server Selection
8788
------------------------------------------
8889

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):
9193

9294
.. list-table::
9395
:widths: 30 70

0 commit comments

Comments
 (0)