New task checking if remote instance is reachable to avoid playback latence
This commit is contained in:
parent
4ae9d77cf2
commit
0cb3457378
8 changed files with 92 additions and 1 deletions
|
|
@ -862,6 +862,16 @@ CELERY_BEAT_SCHEDULE = {
|
|||
"schedule": crontab(day_of_week="1", minute="0", hour="2"),
|
||||
"options": {"expires": 60 * 60 * 24},
|
||||
},
|
||||
"federation.check_remote_instance_availability": {
|
||||
"task": "federation.check_remote_instance_availability",
|
||||
"schedule": crontab(
|
||||
**env.dict(
|
||||
"SCHEDULE_FEDERATION_CHECK_INTANCES_AVAILABILITY",
|
||||
default={"minute": "0", "hour": "*"},
|
||||
)
|
||||
),
|
||||
"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