Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-275

Connection Timeout Option for the Ruby Driver

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Right now if the Ruby driver tries to set up a connection to a host that is unreachable or nonexistent, the connection attempt appears to last ~30 seconds before timing out.

      If possible, it would be nice for the MongoDB Ruby driver to have a configurable connect timeout option. Specifically, we'd like to be able to set a timeout on setting up a connection to a host — not a timeout on socket reads (which is configurable using the :op_timeout option).

            Assignee:
            kbanker Kyle Banker
            Reporter:
            getsatnerds GetSatisfaction Nerds
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: