feat(api): changed initial connetion pool s (#68)

This commit is contained in:
Kraiem Taha Yassine 2021-06-29 23:51:42 +02:00 committed by GitHub
parent 7a0cf5e9b3
commit bf7a779655
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: