From 571be630f6233ccbb67add81c0057280104f140c Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Thu, 29 May 2025 19:32:40 +0100 Subject: [PATCH] docs(pool): fix random connection lifetime reduction: 5%, not 10% Close #1100. --- docs/api/pool.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3