From: Daniele Varrazzo Date: Thu, 29 May 2025 18:32:40 +0000 (+0100) Subject: docs(pool): fix random connection lifetime reduction: 5%, not 10% X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=571be630f6233ccbb67add81c0057280104f140c;p=thirdparty%2Fpsycopg.git docs(pool): fix random connection lifetime reduction: 5%, not 10% Close #1100. --- diff --git a/docs/api/pool.rst b/docs/api/pool.rst index 76aed2b7d..aff683a5d 100644 --- a/docs/api/pool.rst +++ b/docs/api/pool.rst @@ -125,7 +125,7 @@ The `!ConnectionPool` class :param max_lifetime: The maximum lifetime of a connection in the pool, in seconds. Connections used for longer get closed and replaced by a new one. The amount is reduced by a - random 10% to avoid mass eviction. + random amount up to 5% to avoid mass eviction. :type max_lifetime: `!float`, default: 1 hour :param max_idle: Maximum time, in seconds, that a connection can stay unused