1MONGOC_READ_PREFS_GET_MAX_STALENMEoMSnOSgN_oGSDOEBCC_OCRNEDDASrD(i_3vP)eRrEFS_GET_MAX_STALENESS_SECONDS(3)
2
3
4
6 mongoc_read_prefs_get_max_staleness_seconds - mon‐
7 goc_read_prefs_get_max_staleness_seconds()
8
10 int64_t
11 mongoc_read_prefs_get_max_staleness_seconds (
12 const mongoc_read_prefs_t *read_prefs);
13
15 · read_prefs: A mongoc_read_prefs_t.
16
18 Clients estimate the staleness of each secondary, and select for reads
19 only those secondaries whose estimated staleness is less than or equal
20 to maxStalenessSeconds. The default is MONGOC_NO_MAX_STALENESS.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.14.0 MFOeNbGO2C2_,RE2A0D1_9PREFS_GET_MAX_STALENESS_SECONDS(3)