From 4b34f9a99dba0e74b545b78ed3470d0aa32b324c Mon Sep 17 00:00:00 2001 From: Max Zuev Date: Wed, 1 Nov 2023 15:12:29 +0100 Subject: [PATCH] DLBACK-18: we don't need so big connection pool during compeng's startup --- lib/dl_compeng_pg/dl_compeng_pg/compeng_pg_base/pool_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dl_compeng_pg/dl_compeng_pg/compeng_pg_base/pool_base.py b/lib/dl_compeng_pg/dl_compeng_pg/compeng_pg_base/pool_base.py index 7086406e2..4e42c2f29 100644 --- a/lib/dl_compeng_pg/dl_compeng_pg/compeng_pg_base/pool_base.py +++ b/lib/dl_compeng_pg/dl_compeng_pg/compeng_pg_base/pool_base.py @@ -11,7 +11,7 @@ _POOL_WRAPPER_TV = TypeVar("_POOL_WRAPPER_TV", bound="BasePgPoolWrapper") -DEFAULT_POOL_MIN_SIZE = 10 +DEFAULT_POOL_MIN_SIZE = 2 DEFAULT_POOL_MAX_SIZE = 20 DEFAULT_OPERATION_TIMEOUT = 60.0