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/authentik/outposts/settings.py

21 lines
719 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": {
2020-12-05 21:08:42 +00:00
"task": "authentik.outposts.tasks.outpost_controller_all",
"schedule": crontab(minute="*/5"),
2020-12-05 21:08:42 +00:00
"options": {"queue": "authentik_scheduled"},
},
"outposts_service_connection_check": {
2020-12-05 21:08:42 +00:00
"task": "authentik.outposts.tasks.outpost_service_connection_monitor",
"schedule": crontab(minute=0, hour="*"),
2020-12-05 21:08:42 +00:00
"options": {"queue": "authentik_scheduled"},
},
"outpost_token_ensurer": {
"task": "authentik.outposts.tasks.outpost_token_ensurer",
"schedule": crontab(minute="*/5"),
"options": {"queue": "authentik_scheduled"},
},
2020-10-05 21:11:44 +00:00
}