default timeout of 90 seconds

This commit is contained in:
Damien Elmes 2009-09-22 18:35:31 +09:00
parent 2e2444f488
commit 1028b04d9c

View file

@ -2804,7 +2804,7 @@ class DeckStorage(object):
else:
engine = create_engine(path,
poolclass=NullPool,
connect_args={'timeout': 30})
connect_args={'timeout': 90})
session = sessionmaker(bind=engine,
autoflush=False,
autocommit=True)