mirror of
https://github.com/kopia/kopia.git
synced 2026-10-20 13:14:45 -04:00
1 parent
97c4483cc9
commit
fba0956795
1 file changed
+1
-1
@@ -61,7 +61,7 @@ func (v *Queue) enqueue(ctx context.Context, front bool, callback CallbackFunc)
|
||||
func (v *Queue) Process(ctx context.Context, workers int) error {
|
||||
defer v.reportProgress(ctx)
|
||||
|
||||
eg, ctx := errgroup.WithContext(context.Background())
|
||||
eg, ctx := errgroup.WithContext(ctx)
|
||||
|
||||
for i := 0; i < workers; i++ {
|
||||
eg.Go(func() error {
|
||||
|
||||
Reference in new issue
Block a user