mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
Fixed formatting and typo on beat config.
This commit is contained in:
@@ -117,6 +117,6 @@ def timeout_notifications():
|
|||||||
", status has been updated.").format(noti.id))
|
", status has been updated.").format(noti.id))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
current_app.logger.exception(e)
|
current_app.logger.exception(e)
|
||||||
current_app.logger.error((
|
current_app.logger.error(
|
||||||
"Exception raised trying to timeout notification ({})"
|
"Exception raised trying to timeout notification ({}) skipping notification update.".format(noti.id)
|
||||||
", skipping notification update.").format(noti.id))
|
)
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ class Config(object):
|
|||||||
CELERYBEAT_SCHEDULE = {
|
CELERYBEAT_SCHEDULE = {
|
||||||
'run-scheduled-jobs': {
|
'run-scheduled-jobs': {
|
||||||
'task': 'run-scheduled-jobs',
|
'task': 'run-scheduled-jobs',
|
||||||
'schedule': crontab(minutes=1),
|
'schedule': crontab(minute=1),
|
||||||
'options': {'queue': 'periodic'}
|
'options': {'queue': 'periodic'}
|
||||||
},
|
},
|
||||||
'delete-verify-codes': {
|
'delete-verify-codes': {
|
||||||
|
|||||||
Reference in New Issue
Block a user