chore: go fixes

This commit is contained in:
2026-05-08 09:28:30 +02:00
parent ccc40d8d9d
commit 334b05c6e0

View File

@@ -156,13 +156,11 @@ func (w *Worker) syncRelations(ctx context.Context) {
var wg sync.WaitGroup var wg sync.WaitGroup
for range workerCount { for range workerCount {
wg.Add(1) wg.Go(func() {
go func() {
defer wg.Done()
for a := range jobs { for a := range jobs {
w.syncSingleAnime(ctx, a.ID) w.syncSingleAnime(ctx, a.ID)
} }
}() })
} }
for _, a := range animes { for _, a := range animes {