| MONGOC_READ_PREFS_GET_MAX_STALENESS_SECONDS(3) | libmongoc | MONGOC_READ_PREFS_GET_MAX_STALENESS_SECONDS(3) |
int64_t mongoc_read_prefs_get_max_staleness_seconds (
const mongoc_read_prefs_t *read_prefs);
Clients estimate the staleness of each secondary, and select for reads only those secondaries whose estimated staleness is less than or equal to maxStalenessSeconds. The default is MONGOC_NO_MAX_STALENESS.
MongoDB, Inc
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |