1MONGOC_READ_PREFS_GET_MAX_STALENEMSOSN_lGSiOEbCCm_OoRNnEDgASoD(c_3P)REFS_GET_MAX_STALENESS_SECONDS(3)
2
3
4
6 int64_t
7 mongoc_read_prefs_get_max_staleness_seconds (
8 const mongoc_read_prefs_t *read_prefs);
9
11 • read_prefs: A mongoc_read_prefs_t.
12
14 Clients estimate the staleness of each secondary, and select for reads
15 only those secondaries whose estimated staleness is less than or equal
16 to maxStalenessSeconds. The default is MONGOC_NO_MAX_STALENESS.
17
19 MongoDB, Inc
20
22 2017-present, MongoDB, Inc
23
24
25
26
271.25.1 MNOoNvGO0C8_,RE2A0D2_3PREFS_GET_MAX_STALENESS_SECONDS(3)