Change event sync interval

master
Nikola Forró 6 years ago
parent 51a34a81e4
commit c5b44f9d2c

@ -43,7 +43,7 @@ app.config.update(
args=(app, db),
max_instances=1,
trigger='interval',
seconds=600)])
seconds=300)])
if app.config.get('SQLALCHEMY_DATABASE_URI', '').startswith('sqlite://'):
@sqlalchemy.event.listens_for(sqlalchemy.engine.Engine, 'connect')

Loading…
Cancel
Save