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

Adjust maxIdleTimeMS when FaaS environment detected

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: CMAP, FaaS
    • None
    • Needed

      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.

            Assignee:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Reporter:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: