socketTimeoutMS URL parameters not working

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.2.18
    • Affects Version/s: 2.2.12
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Setting socketTimeoutMS as connection url parameter has no effect.

      Debugging into mongo_client.js shows that the socketTimeoutMS parameter appears in the _finalOptions variable, in mongos_options.socketOptions, rs_options.socketOptions and server_options.socketOptions properties.

      After that, the _finalOptions.socketTimeoutMS is set to the default value:
      if(_finalOptions.socketTimeoutMS == null) _finalOptions.socketTimeoutMS = 30000;

      _finalOptions.socketTimeoutMS is always undefined, because the value is in the mongos_options.socketOptions, etc.

              Assignee:
              Unassigned
              Reporter:
              Zoltán Mihályi
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: