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.
- is related to
-
DRIVERS-3068 Improved default connection behavior from FaaS environments to sharded clusters
- Investigating