Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2758

Adjust maxIdleTimeMS when FaaS environment detected

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • CMAP, FaaS
    • None
    • Needed

    Description

      With DRIVERS-2209 runtime environment details are now available when constructing the MongoClient.

      If a FaaS environment is detected the maxIdleTimeMS should be set to 60000 (unless already configured explicitly via URI or MongoClient option).

      Part of the proposed change would be to extend the definition of maxIdleTimeMS to cover the SDAM monitor connection as well as currently it only applies to pooled connections.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: