2020-07-07 16:03:57 +01:00
|
|
|
"""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"},
|
2020-07-07 16:03:57 +01:00
|
|
|
},
|
|
|
|
"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"},
|
2020-07-07 16:03:57 +01:00
|
|
|
},
|
|
|
|
}
|