Add task to refresh actor data in the cache (#1392)
This commit is contained in:
parent
2312a3b780
commit
804d8bcefd
3 changed files with 34 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue