Commit 5d17e7f7 authored by Agate's avatar Agate 💬

Merge branch 'broken-beat-schedule' into 'develop'

Fixed #487: typos in scheduled tasks configuration

Closes #487

See merge request funkwhale/funkwhale!376
parents 861a1e19 13a1c6da
......@@ -72,7 +72,7 @@ api/media
api/staticfiles
api/static
api/.pytest_cache
api/celerybeat-*
# Front
oldfront/node_modules/
front/static/translations
......
......@@ -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},
}
......
Fixed typos in scheduled tasks configuration (#487)
......@@ -55,7 +55,7 @@ services:
links:
- postgres
- redis
command: celery -A funkwhale_api.taskapp worker -l debug
command: celery -A funkwhale_api.taskapp worker -l debug -B
environment:
- "FUNKWHALE_HOSTNAME=${FUNKWHALE_HOSTNAME-localhost}"
- "FUNKWHALE_HOSTNAME_SUFFIX=funkwhale.test"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment