Skip to content

Commit

Permalink
Update sql connection pool size to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
lampham789 committed Aug 14, 2024
1 parent fb4d4b9 commit 145042e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ class Config:
TESTING = False
LOG_LEVEL = os.getenv("LOG_LEVEL")
SQLALCHEMY_DATABASE_URI = get_database_uri()
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_TRACK_MODIFICATIONS = False

SQLALCHEMY_POOL_SIZE = 20
SQLALCHEMY_MAX_OVERFLOW = 10
SQLALCHEMY_POOL_TIMEOUT = 30
SQLALCHEMY_POOL_RECYCLE = 3600

0 comments on commit 145042e

Please sign in to comment.