mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 09:59:18 +02:00
Fixed #487: typos in scheduled tasks configuration
This commit is contained in:
parent
44ccd483ca
commit
13a1c6daac
4 changed files with 5 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -72,7 +72,7 @@ api/media
|
||||||
api/staticfiles
|
api/staticfiles
|
||||||
api/static
|
api/static
|
||||||
api/.pytest_cache
|
api/.pytest_cache
|
||||||
|
api/celerybeat-*
|
||||||
# Front
|
# Front
|
||||||
oldfront/node_modules/
|
oldfront/node_modules/
|
||||||
front/static/translations
|
front/static/translations
|
||||||
|
|
|
@ -344,9 +344,9 @@ CELERY_BROKER_URL = env(
|
||||||
# Your common stuff: Below this line define 3rd party library settings
|
# Your common stuff: Below this line define 3rd party library settings
|
||||||
CELERY_TASK_DEFAULT_RATE_LIMIT = 1
|
CELERY_TASK_DEFAULT_RATE_LIMIT = 1
|
||||||
CELERY_TASK_TIME_LIMIT = 300
|
CELERY_TASK_TIME_LIMIT = 300
|
||||||
CELERYBEAT_SCHEDULE = {
|
CELERY_BEAT_SCHEDULE = {
|
||||||
"federation.clean_music_cache": {
|
"federation.clean_music_cache": {
|
||||||
"task": "funkwhale_api.federation.tasks.clean_music_cache",
|
"task": "federation.clean_music_cache",
|
||||||
"schedule": crontab(hour="*/2"),
|
"schedule": crontab(hour="*/2"),
|
||||||
"options": {"expires": 60 * 2},
|
"options": {"expires": 60 * 2},
|
||||||
}
|
}
|
||||||
|
|
1
changes/changelog.d/487.bugfix
Normal file
1
changes/changelog.d/487.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fixed typos in scheduled tasks configuration (#487)
|
2
dev.yml
2
dev.yml
|
@ -55,7 +55,7 @@ services:
|
||||||
links:
|
links:
|
||||||
- postgres
|
- postgres
|
||||||
- redis
|
- redis
|
||||||
command: celery -A funkwhale_api.taskapp worker -l debug
|
command: celery -A funkwhale_api.taskapp worker -l debug -B
|
||||||
environment:
|
environment:
|
||||||
- "FUNKWHALE_HOSTNAME=${FUNKWHALE_HOSTNAME-localhost}"
|
- "FUNKWHALE_HOSTNAME=${FUNKWHALE_HOSTNAME-localhost}"
|
||||||
- "FUNKWHALE_HOSTNAME_SUFFIX=funkwhale.test"
|
- "FUNKWHALE_HOSTNAME_SUFFIX=funkwhale.test"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue