mirror of
https://github.com/restic/restic.git
synced 2026-11-14 14:45:04 +00:00
repository: Simplify worker group code
This commit is contained in:
1 parent
84ea2389ae
commit
4784540f04
3 files changed
+4
-6
No files matched your search
@@ -479,7 +479,7 @@ func (r *Repository) LoadIndex(ctx context.Context) error {
|
||||
|
||||
// run workers on ch
|
||||
wg.Go(func() error {
|
||||
return RunWorkers(ctx, loadIndexParallelism, worker, final)
|
||||
return RunWorkers(loadIndexParallelism, worker, final)
|
||||
})
|
||||
|
||||
// receive decoded indexes
|
||||
|
||||
Reference in new issue
Block a user