Fixed formatting and typo on beat config.

This commit is contained in:
Martyn Inglis
2016-08-24 17:08:20 +01:00
parent 2cffed9cd4
commit d848093fb0
2 changed files with 4 additions and 4 deletions

View File

@@ -117,6 +117,6 @@ def timeout_notifications():
", status has been updated.").format(noti.id))
except Exception as e:
current_app.logger.exception(e)
current_app.logger.error((
"Exception raised trying to timeout notification ({})"
", skipping notification update.").format(noti.id))
current_app.logger.error(
"Exception raised trying to timeout notification ({}) skipping notification update.".format(noti.id)
)

View File

@@ -52,7 +52,7 @@ class Config(object):
CELERYBEAT_SCHEDULE = {
'run-scheduled-jobs': {
'task': 'run-scheduled-jobs',
'schedule': crontab(minutes=1),
'schedule': crontab(minute=1),
'options': {'queue': 'periodic'}
},
'delete-verify-codes': {