Add task to refresh actor data in the cache (#1392)

This commit is contained in:
petitminion 2022-06-11 06:34:11 +00:00 committed by Georg Krause
commit 804d8bcefd
3 changed files with 34 additions and 0 deletions

View file

@ -841,6 +841,11 @@ CELERY_BEAT_SCHEDULE = {
"schedule": crontab(day_of_week="1", minute="0", hour="2"),
"options": {"expires": 60 * 60 * 24},
},
"federation.refresh_actor_data": {
"task": "federation.refresh_actor_data",
"schedule": crontab(minute="0", hour="*/5"),
"options": {"expires": 60 * 60},
},
}
if env.bool("ADD_ALBUM_TAGS_FROM_TRACKS", default=True):