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: 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)