From bf7a779655186f12e2ab70acfe87533711fc6df2 Mon Sep 17 00:00:00 2001 From: Kraiem Taha Yassine Date: Tue, 29 Jun 2021 23:51:42 +0200 Subject: [PATCH] feat(api): changed initial connetion pool s (#68) --- api/chalicelib/utils/pg_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/chalicelib/utils/pg_client.py b/api/chalicelib/utils/pg_client.py index 89a9dc8fa..ba72868d6 100644 --- a/api/chalicelib/utils/pg_client.py +++ b/api/chalicelib/utils/pg_client.py @@ -27,7 +27,7 @@ class ORThreadedConnectionPool(psycopg2.pool.ThreadedConnectionPool): try: - postgreSQL_pool = ORThreadedConnectionPool(20, 100, **PG_CONFIG) + postgreSQL_pool = ORThreadedConnectionPool(50, 100, **PG_CONFIG) if (postgreSQL_pool): print("Connection pool created successfully") except (Exception, psycopg2.DatabaseError) as error: