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

connectTimeoutMS not honored for replica set connections

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      driver 1.1.11, Node 0.8.11
    • # Replies:
      4
    • Last comment by Customer:
      false

      Description

      The value appears to be hard-coded to 1000ms.

      https://github.com/mongodb/node-mongodb-native/blob/3709204430a3783c41077f6c58c1b11bb7fc5053/lib/mongodb/connection/repl_set.js

      This causes problems when trying to connect during a warmup phase on PaaS services such as Heroku.

      https://github.com/jcottr/temps-mort

        Attachments

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                4 years, 49 weeks, 6 days ago
                Date of 1st Reply: