From 64c79c0aeb5e932a61efcc6e1d4d7a8815f0fb4e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 17 Sep 2021 11:12:54 +0200 Subject: [PATCH] fd --- files/__main__.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/__main__.py b/files/__main__.py index 73aec4224..dd011542f 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -83,7 +83,7 @@ limiter = Limiter( _engine=create_engine( app.config['DATABASE_URL'], poolclass=QueuePool, - pool_size=int(environ.get("PG_POOL_SIZE",10)), + pool_size=197, pool_use_lifo=True ) diff --git a/requirements.txt b/requirements.txt index fe3e4319d..489932b05 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ pyotp qrcode redis requests -SQLAlchemy==1.3.19 +SQLAlchemy psycopg2-binary pusher_push_notifications youtube-dl