authentik/passbook/policies/reputation/settings.py

16 lines
519 B
Python
Raw Normal View History

"""Reputation Settings"""
from celery.schedules import crontab
CELERY_BEAT_SCHEDULE = {
"policies_reputation_ip_save": {
"task": "passbook.policies.reputation.tasks.save_ip_reputation",
"schedule": crontab(minute="*/5"),
2020-09-02 23:04:12 +01:00
"options": {"queue": "passbook_scheduled"},
},
"policies_reputation_user_save": {
"task": "passbook.policies.reputation.tasks.save_user_reputation",
"schedule": crontab(minute="*/5"),
2020-09-02 23:04:12 +01:00
"options": {"queue": "passbook_scheduled"},
},
}