So, I have deployed my PHP application (using Laravel). However , I've noticed a high connection number in connection pool.
I would like to know how could I to set the maxIdleTimeMS parameter through MongoDB Shell or command line (or even via configuration file)?
Thanks in advance!
UPDATE
Please, see the important note on below comment from @jmikola
Best Answer
maxIdleTimeMS is applicable to MongoDB drivers and is managed on client side. It has nothing to do with MongoDB server so can't be set inside shell