Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

mongoc_read_prefs_get_max_staleness_seconds

Synopsis

int64_t
mongoc_read_prefs_get_max_staleness_seconds (
   const mongoc_read_prefs_t *read_prefs);

Parameters

Description

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.

Author

MongoDB, Inc

Info

Jun 05, 2024 1.27.2 libmongoc