feat(api): changed initial connetion pool s (#68)
This commit is contained in:
parent
7a0cf5e9b3
commit
bf7a779655
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue