PYTHON-890 - Minor doc fixes.
This commit is contained in:
parent
6e4608b9cd
commit
a08f16d9dc
@ -580,8 +580,8 @@ class BaseObject(object):
|
||||
|
||||
def __get_acceptable_latency(self):
|
||||
"""Any replica-set member whose ping time is within
|
||||
secondary_acceptable_latency_ms of the nearest member may accept
|
||||
reads. Defaults to 15 milliseconds.
|
||||
:attr:`secondary_acceptable_latency_ms` of the nearest member may
|
||||
accept reads. Defaults to 15 milliseconds.
|
||||
|
||||
See :class:`~pymongo.read_preferences.ReadPreference`.
|
||||
|
||||
|
||||
@ -207,7 +207,7 @@ class MongoClient(common.BaseObject):
|
||||
ignoring tags. Defaults to ``[{}]``, meaning "ignore members'
|
||||
tags."
|
||||
- `secondaryAcceptableLatencyMS`: (integer) Any replica-set member
|
||||
whose ping time is within secondary_acceptable_latency_ms of the
|
||||
whose ping time is within secondaryAcceptableLatencyMS of the
|
||||
nearest member may accept reads. Default 15 milliseconds.
|
||||
**Ignored by mongos** and must be configured on the command line.
|
||||
See the localThreshold_ option for more information.
|
||||
@ -703,7 +703,7 @@ class MongoClient(common.BaseObject):
|
||||
|
||||
@property
|
||||
def local_threshold_ms(self):
|
||||
"""Alias for secondary_acceptable_latency_ms.
|
||||
"""Alias for :attr:`secondary_acceptable_latency_ms`.
|
||||
|
||||
.. versionadded:: 2.9
|
||||
"""
|
||||
|
||||
@ -1027,7 +1027,7 @@ class MongoReplicaSetClient(common.BaseObject):
|
||||
|
||||
@property
|
||||
def local_threshold_ms(self):
|
||||
"""Alias for secondary_acceptable_latency_ms.
|
||||
"""Alias for :attr:`secondary_acceptable_latency_ms`.
|
||||
|
||||
.. versionadded:: 2.9
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user