diff --git a/backend/db.py b/backend/db.py index 90805d6..bb2f3fe 100644 --- a/backend/db.py +++ b/backend/db.py @@ -29,7 +29,7 @@ def get_sync_pool() -> psycopg2.pool.ThreadedConnectionPool: global _sync_pool if _sync_pool is None: _sync_pool = psycopg2.pool.ThreadedConnectionPool( - minconn=1, maxconn=5, + minconn=2, maxconn=20, host=PG_HOST, port=PG_PORT, dbname=PG_DB, user=PG_USER, password=PG_PASS, )