From 991b151b6907d3c02680e12d2bb250d285d7d7b8 Mon Sep 17 00:00:00 2001 From: Steve Chavez Date: Thu, 22 Jun 2023 14:44:26 -0500 Subject: [PATCH] improve connection pool wording --- docs/references/connection_pool.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/references/connection_pool.rst b/docs/references/connection_pool.rst index c1ff099bd..7464f9072 100644 --- a/docs/references/connection_pool.rst +++ b/docs/references/connection_pool.rst @@ -22,7 +22,7 @@ Connection lifetime ------------------- Long-lived PostgreSQL connections can consume considerable memory (see `here `_ for more details). -Under a busy system, the :ref:`db-pool-max-idletime` won't be reached and the connection pool can have many long-lived connections. +Under a busy system, the :ref:`db-pool-max-idletime` won't be reached and the connection pool can be full of long-lived connections. To avoid this problem and save resources, a connection max lifetime (determined by :ref:`db-pool-max-lifetime`, 30 minutes by default) is enforced. After the max lifetime is reached, connections from the pool will be released and new ones will be created. This doesn't affect running requests, only unused connections will be released.