Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-785

Configurable localThresholdMS

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.4.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None

      Per server selection spec:

      "The default is 15 (milliseconds). It MUST be configurable at the client level. It MUST NOT be configurable at the level of a database object, collection object, or at the level of an individual query."

      The default 15ms is correct but hardcoded:

      https://github.com/mongodb/mongo-c-driver/blob/e62117d12a600f6cf61eb409933af6f92a3d7c22/src/mongoc/mongoc-cluster.c#L1457

      Must be added to URI parser. Must not be added to mongoc_read_prefs_t.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: