Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11370

Confused by official mongodb documentation, what is socketTimeoutMS?

    XMLWordPrintable

Details

    • Bug
    • Status: External Review
    • Minor - P4
    • Resolution: Unresolved
    • v3.0
    • None
    • dochub, Server

    Description

      I found two different places with different explanation what does:

      socketTimeoutMS

      do.

      Here is written one explanation:

      The time in milliseconds to attempt a send or receive on a socket before the attempt times out. The default is never to timeout, though different drivers might vary. See the driver documentation.

      But here is given completely different explanation:

      The socketTimeoutMS sets the number of milliseconds a socket stays inactive after the driver has successfully connected before closing. If the value is set to 360000 milliseconds, the socket closes if there is no activity during a 30 seconds window.

      What does really

      socketTimeoutMS

      do?

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            anatoly314 Anatoly Tarnavsky
            Kay Kim Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              4 years, 13 weeks ago