Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Author

       MongoDB, Inc

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.

Parameters

       • read_prefs: A mongoc_read_prefs_t.

Synopsis

          int64_t
          mongoc_read_prefs_get_max_staleness_seconds (
             const mongoc_read_prefs_t *read_prefs);

See Also