File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -278,14 +278,14 @@ the member with the lower ``operationCount`` value to receive the request.
278
278
Local Threshold
279
279
```````````````
280
280
281
- If multiple replica-set members match the read preference and tag sets you specify,
282
- the {+php-library+} reads from the nearest replica-set members, chosen according to
283
- their ping time .
284
-
285
- By default, the library uses only members whose ping times are within 15 milliseconds
286
- of the nearest member for queries. To distribute reads between members with
287
- higher latencies, pass an options array to the ``MongoDB\Client`` constructor that
288
- sets the ``localThresholdMS`` option.
281
+ The {+library-short+} uses the local threshold value to calculate the
282
+ latency window for server selection. This value determines the servers
283
+ that are eligible to receive read and write requests .
284
+
285
+ By default, the driver uses only mongos instances or replica set members whose
286
+ ping times are within 15 milliseconds of the nearest server. To
287
+ distribute reads among servers with higher latencies, pass an options array to
288
+ the ``MongoDB\Client`` constructor that sets the ``localThresholdMS`` option.
289
289
290
290
The following example specifies a local threshold of 35 milliseconds:
291
291
You can’t perform that action at this time.
0 commit comments