forked from MarseyWorld/MarseyWorld
same as last commit
parent
f575c37b40
commit
90ed62d485
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue