Added pool_recyle to eng_args

doc_update
Joey Hines 2018-07-21 15:29:35 -05:00
parent 67d5c8c548
commit e101db7d7d
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ class DiscordDatabaseInterface(DatabaseInterface):
class GeoffreyDatabase:
def __init__(self, engine_arg):
self.engine = create_engine(engine_arg, echo=True)
self.engine = create_engine(engine_arg, echo=, pool_recycle=3600)
Session = sessionmaker(bind=self.engine)
self.session = Session()
self.meta = MetaData()