When the total number of cached, inactive sockets approaches this maximum, it will check for ones closed by the server first. If there are none already closed by the server, it will select sockets at random from its connection cache and close them to make room for the new ones.
Please note:
Setting it just right for your use case may provide an up to 10x performance boost.
This implementation is subject to change. If it does, I'll document it, but may not bump the version number.
Added August 10, 2022 (dub v10.9)
Changes the limit of number of open, inactive sockets. Reusing connections can provide a significant performance improvement, but the operating system can also impose a global limit on the number of open sockets and/or files that you don't want to run into. This lets you choose a balance right for you.