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
|
||||
engine = create_engine(path,
|
||||
poolclass=NullPool,
|
||||
connect_args={'timeout': 30})
|
||||
connect_args={'timeout': 60})
|
||||
session = sessionmaker(bind=engine,
|
||||
autoflush=False,
|
||||
autocommit=True)
|
||||
|
|
Loading…
Reference in a new issue