Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19976

Enable socket keepalive on MongoDB connection

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.2
    • Fix Version/s: 8.10
    • Component/s: Core MongoDB
    • Tags:
    • Sprint:
      nxBD 8.4.1
    • Story Points:
      1

      Description

      The MongoDB connection can be tuned using the URI option.

      But some options are not available from the URI, this is the case for the socketKeepalive option that should be activated by default. This can help to prevent firewall to disconnect inactive connection.

      Also by default we should not wait for ever on connect and socket read operations.

      Default option is connectTimeoutMS to 30s and socketTimeoutMS to 60s, can be adjusted using the URI option.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: