diff --git a/reference/mongodb/mongodb/driver/manager/construct.xml b/reference/mongodb/mongodb/driver/manager/construct.xml index 643b86ff9d..5d177f4051 100644 --- a/reference/mongodb/mongodb/driver/manager/construct.xml +++ b/reference/mongodb/mongodb/driver/manager/construct.xml @@ -172,6 +172,11 @@ mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][ until the beginning of the next one. Defaults to 60,000 milliseconds. + + Per the + Server Discovery and Monitoring Specification, + this value cannot be less than 500 milliseconds. + @@ -201,13 +206,21 @@ mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][ maxStalenessSeconds integer - Corresponds to the read preference's - "maxStalenessSeconds". Specifies, in seconds, how - stale a secondary can be before the client stops using it for read - operations. By default, there is no maximum staleness and clients - will not consider a secondary’s lag when choosing where to direct a - read operation. For details, see - MongoDB\Driver\ReadPreference. + + Corresponds to the read preference's + "maxStalenessSeconds". Specifies, in seconds, how + stale a secondary can be before the client stops using it for read + operations. By default, there is no maximum staleness and clients + will not consider a secondary’s lag when choosing where to direct a + read operation. For details, see + MongoDB\Driver\ReadPreference. + + + If specified, the max staleness must be a signed 32-bit integer + greater than or equal to + MongoDB\Driver\ReadPreference::SMALLEST_MAX_STALENESS_SECONDS + (i.e. 90 seconds). +