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

Connection Timeout Option for the Ruby Driver

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: