mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
default timeout of 90 seconds
This commit is contained in:
parent
2e2444f488
commit
1028b04d9c
1 changed files with 1 additions and 1 deletions
|
@ -2804,7 +2804,7 @@ class DeckStorage(object):
|
||||||
else:
|
else:
|
||||||
engine = create_engine(path,
|
engine = create_engine(path,
|
||||||
poolclass=NullPool,
|
poolclass=NullPool,
|
||||||
connect_args={'timeout': 30})
|
connect_args={'timeout': 90})
|
||||||
session = sessionmaker(bind=engine,
|
session = sessionmaker(bind=engine,
|
||||||
autoflush=False,
|
autoflush=False,
|
||||||
autocommit=True)
|
autocommit=True)
|
||||||
|
|
Loading…
Reference in a new issue