From 90ed62d485ba222682c9ff9756fc9eb406fa5a7b Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 17 Aug 2023 01:08:32 +0300 Subject: [PATCH] same as last commit --- files/helpers/config/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 43bf1288a9..70fd5ea8cf 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -1157,5 +1157,5 @@ GIRL_NAMES = { from sqlalchemy.engine.create import create_engine from sqlalchemy.orm import scoped_session, sessionmaker -engine = create_engine(environ.get("DATABASE_URL").strip(), connect_args={"options": "-c statement_timeout=5000 -c idle_in_transaction_session_timeout=59000"}) +engine = create_engine(environ.get("DATABASE_URL").strip(), connect_args={"options": "-c statement_timeout=5000"}) db_session = scoped_session(sessionmaker(bind=engine))