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

connectTimeoutMS not honored for replica set connections

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

      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:
            christkv Christian Amor Kvalheim
            Reporter:
            jared Jared D. Cottrell
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: