feat: add heartbeat log to worker when queue is empty

This commit is contained in:
2026-04-08 15:08:25 +02:00
parent a5b72c599c
commit a24052cb6c

View File

@@ -48,6 +48,11 @@ func (w *Worker) syncRelations(ctx context.Context) {
return
}
if len(animes) == 0 {
log.Println("worker: no new anime relations to sync at this time")
return
}
for _, a := range animes {
log.Printf("worker: syncing relations for anime %d (%s)", a.ID, a.TitleOriginal)