File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,23 +71,23 @@ deployment:
71
71
Multiple Deployments
72
72
--------------------
73
73
74
- You can connect to multiple MongoDB deployments by specifying a list of MongoDB instances
74
+ You can connect to multiple MongoDB deployments by specifying a list of deployments
75
75
in your connection string.
76
76
77
- The following code shows how to use {+driver-short+} to connect to three instances :
77
+ The following code shows how to use {+driver-short+} to connect to three deployments :
78
78
79
79
.. code-block:: python
80
80
81
81
from pymongo import MongoClient
82
82
83
83
client = MongoClient("mongodb://host1:27017,host2:27017,host3:27017")
84
84
85
- {+driver-short+} evenly load balances operations across the specified instances
86
- within the specified ``localThresholdMS`` of the lowest-latency instance . The
85
+ {+driver-short+} evenly load balances operations across the specified deployments
86
+ within the specified ``localThresholdMS`` of the lowest-latency deployment . The
87
87
``localThresholdMS`` option defaults to ``15``.
88
88
89
89
To learn more about how {+driver-short+} load balances operations across multiple
90
- MongoDB instances , see the :ref:`pymongo-server-selection` guide.
90
+ MongoDB deployments , see the :ref:`pymongo-server-selection` guide.
91
91
92
92
Replica Sets
93
93
------------
You can’t perform that action at this time.
0 commit comments