Skip to content

Commit

Permalink
revert pool_size and max_overflow (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionick committed Nov 1, 2023
1 parent 05ee059 commit 3ac745d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(self):
pool_size = int(db_params.get('pool_size', 25))
max_overflow = int(db_params.get('max_overflow', 5))

self.engine = create_engine(url, poolclass=NullPool)
self.engine = create_engine(url, pool_size=pool_size, max_overflow=max_overflow)

def check_database_connection(self):
try:
Expand Down

0 comments on commit 3ac745d

Please sign in to comment.