Merge remote-tracking branch 'tanner/master'

This commit is contained in:
Jason Schwarzenberger
2020-12-16 11:31:01 +13:00
8 changed files with 136 additions and 11 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ from sqlalchemy.orm import sessionmaker
from sqlalchemy.exc import IntegrityError
from sqlalchemy.types import JSON
engine = create_engine('sqlite:///data/qotnews.sqlite')
engine = create_engine('sqlite:///data/qotnews.sqlite', connect_args={'timeout': 120})
Session = sessionmaker(bind=engine)
Base = declarative_base()