# MIN_CONNECTIONS


Lower bound on warm connections kept in the pool.


`MIN_CONNECTIONS: Final[int] = ``4`


The pool always keeps at least this many connections open, even during idle periods. This avoids the latency spike that comes from establishing a fresh connection on the first request after an idle window.


## Notes

Set this to 0 in test environments where connection setup is expensive and the pool is never actually used.


## See Also

[MAX_CONNECTIONS](MAX_CONNECTIONS.md#gdtest_complete_docstrings.MAX_CONNECTIONS)
