mongoc_read_prefs_get_max_staleness_seconds3
Usage
int64_t mongoc_read_prefs_get_max_staleness_seconds ( const mongoc_read_prefs_t *read_prefs);
Parameters
- •
-
read_prefs: A mongoc_read_prefs_t.
Overview
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.
Releases
4 releases since Debian 10 (Buster); the text changed 3 times.