connectTimeoutMS not honored for replica set connections

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      driver 1.1.11, Node 0.8.11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Christian Amor Kvalheim
              Reporter:
              Jared D. Cottrell
              None
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: