Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4188

localThresholdMS should default to 15ms not 0ms

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 4.6.0
    • Affects Version/s: None
    • Component/s: None
    • 3
    • Not Needed

      According to the server selection spec (https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.rst#localthresholdms), localThresholdMS defaults to 15ms.  The Node driver defaults to 0ms.  

      Acceptance Criteria

      • Set the default for localThresholdMS to 15ms.
      • Unskip the two failing server selection tests (Jira ticket linked with them)
      • Look for default and configured localThreshold tests and implement if they don't exist
      • Ensure the new default of 15 ms is respected

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: