From d710ee384428566d751170d2c6646b06f29313b8 Mon Sep 17 00:00:00 2001 From: Aaron Mussig Date: Sun, 10 Dec 2023 10:49:11 +1000 Subject: [PATCH] fix(db): Increase connection pool size. --- api/db/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/db/__init__.py b/api/db/__init__.py index 2b252ed..c42907e 100644 --- a/api/db/__init__.py +++ b/api/db/__init__.py @@ -12,7 +12,7 @@ GTDB_DB_URL, convert_unicode=True, pool_size=10, - max_overflow=20, + max_overflow=100, pool_recycle=3600 ) @@ -20,7 +20,7 @@ GTDB_WEB_DB_URL, convert_unicode=True, pool_size=10, - max_overflow=20, + max_overflow=100, pool_recycle=3600 ) @@ -28,7 +28,7 @@ GTDB_COMMON_DB_URL, convert_unicode=True, pool_size=10, - max_overflow=20, + max_overflow=100, pool_recycle=3600 )