limitConnections property

int limitConnections

A soft limit to keep the number of connections below it. If number of connections exceeds limitConnections, they'll be removed from the pool as soon as possible (about a minute after released).

In additions, we'll slow down the estbalishing of new connections. by waiting up to limitTimeout, if there are more than limitConnections connections.

It helps to reduce number of connections if there are a lot of short-lived connections.

It can still run up to maxConnections if no connections are released before the timeout

Ignored if not a positive number. Defaults to 0.

Implementation

int get limitConnections;