Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2050

Enables ScopedDbConnection to set the timeout.

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 1.6.4
    • Internal Client
    • None
    • Linux

    Description

      Hi, we're now integrating mongodb into our products using C++ driver. We noticed that the client sometimes gets blocked forever, when the server is in high load.

      To solve this problem, setting the client-side timeout seems good idea. I looked at the code, and DBClientConnection has timeout parameter for the constructor. But we cannot specify that parameter via ScopedDbConnection.

      Could you add that API?

      Attachments

        Activity

          People

            Unassigned Unassigned
            kzk_mover Kazuki Ohta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: