Fixed #487: typos in scheduled tasks configuration

This commit is contained in:
Eliot Berriot 2018-08-19 16:22:14 +02:00
parent 44ccd483ca
commit 13a1c6daac
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 5 additions and 4 deletions

View file

@ -344,9 +344,9 @@ CELERY_BROKER_URL = env(
# Your common stuff: Below this line define 3rd party library settings
CELERY_TASK_DEFAULT_RATE_LIMIT = 1
CELERY_TASK_TIME_LIMIT = 300
CELERYBEAT_SCHEDULE = {
CELERY_BEAT_SCHEDULE = {
"federation.clean_music_cache": {
"task": "funkwhale_api.federation.tasks.clean_music_cache",
"task": "federation.clean_music_cache",
"schedule": crontab(hour="*/2"),
"options": {"expires": 60 * 2},
}