This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/outposts/settings.py

16 lines
515 B
Python
Raw Normal View History

2020-09-02 22:04:12 +00:00
"""Outposts Settings"""
2020-10-05 21:11:44 +00:00
from celery.schedules import crontab
2020-09-02 22:04:12 +00:00
2020-10-05 21:11:44 +00:00
CELERY_BEAT_SCHEDULE = {
"outposts_controller": {
"task": "passbook.outposts.tasks.outpost_controller_all",
"schedule": crontab(minute="*/5"),
2020-10-05 21:11:44 +00:00
"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"},
},
2020-10-05 21:11:44 +00:00
}