authentik/passbook/outposts/settings.py

11 lines
282 B
Python
Raw Normal View History

2020-09-02 23:04:12 +01:00
"""Outposts Settings"""
2020-10-05 22:11:44 +01:00
from celery.schedules import crontab
2020-09-02 23:04:12 +01:00
2020-10-05 22:11:44 +01:00
CELERY_BEAT_SCHEDULE = {
"outposts_controller": {
2020-10-05 22:11:44 +01:00
"task": "passbook.outposts.tasks.outpost_controller",
"schedule": crontab(minute="*/5"),
2020-10-05 22:11:44 +01:00
"options": {"queue": "passbook_scheduled"},
},
2020-10-05 22:11:44 +01:00
}