mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
timeout @ 60
This commit is contained in:
parent
1111cae80a
commit
c786479268
1 changed files with 1 additions and 1 deletions
|
@ -2809,7 +2809,7 @@ class DeckStorage(object):
|
||||||
# no pool & concurrent access w/ timeout
|
# no pool & concurrent access w/ timeout
|
||||||
engine = create_engine(path,
|
engine = create_engine(path,
|
||||||
poolclass=NullPool,
|
poolclass=NullPool,
|
||||||
connect_args={'timeout': 30})
|
connect_args={'timeout': 60})
|
||||||
session = sessionmaker(bind=engine,
|
session = sessionmaker(bind=engine,
|
||||||
autoflush=False,
|
autoflush=False,
|
||||||
autocommit=True)
|
autocommit=True)
|
||||||
|
|
Loading…
Reference in a new issue