We have some microservices which are using C# mongo driver and Node.js mongo driver. I found online (https://docs.mongodb.com/drivers/node/faq/) that we can set socketTimeoutMS and connectTimeoutMS.
Is it good idea to set these two for both .NET and node applications ? I am just concerned that if we don’t set those, the connections can stay there for a long time and number of connections might increase over the time which might cause the performance issues.