outposts: periodically update state of service connection, show state in UI

This commit is contained in:
Jens Langhammer
2020-11-08 21:31:27 +01:00
parent 7e8e3893eb
commit 5cb7f0794e
5 changed files with 49 additions and 3 deletions

View File

@ -7,4 +7,9 @@ CELERY_BEAT_SCHEDULE = {
"schedule": crontab(minute="*/5"),
"options": {"queue": "passbook_scheduled"},
},
"outposts_service_connection_check": {
"task": "passbook.outposts.tasks.outpost_service_connection_monitor",
"schedule": crontab(minute=0, hour="*"),
"options": {"queue": "passbook_scheduled"},
},
}