Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2155

Reduce default server selection timeout

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Server Selection
    • Labels:
    • Needed

      As noted in MONGOID-4715, the default timeout for nginx is 30 seconds, which also happens to be our default for server selection. This has the potential of preventing the user from seeing the true cause of request timeout.

      The server selection spec indicates that the "default value was chosen to be sufficient for a typical server primary election to complete. As the server improves the speed of elections, this number may be revised downward," maybe it's time to do that.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: