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

Connection options for tcp_keepalive_* not exposed to Mongo::Client

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      The ruby docs on connection options indicate the following server params are set as default:

      • tcp_keepalive_time: 300 seconds
      • tcp_keepalive_intvl: 10 seconds
      • tcp_keepalive_cnt: 9 probes
         
        However these are not exposed as user configurable.

      In the event say we want to lower this to 100-120 seconds (keepalive idle), as would be recommended for use within Azure, we couldn't do this in the driver.

      Please expose the keepalive connection options.

            Assignee:
            scott.lhommedieu@mongodb.com Scott L'Hommedieu (Inactive)
            Reporter:
            luke.prochazka@mongodb.com Luke Prochazka
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: