[DRIVERS-2758] Adjust maxIdleTimeMS when FaaS environment detected Created: 31/Oct/23  Updated: 21/Dec/23

Status: Backlog
Project: Drivers
Component/s: CMAP, FaaS
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Alex Bevilacqua Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Driver Changes: Needed
Quarter: FY25Q2

 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.


Generated at Thu Feb 08 08:26:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.