Browse Source

Merge branch 'master' into mq-subscribe

mq-subscribe
chrislu 10 months ago
parent
commit
96149cbf7f
  1. 2
      weed/storage/backend/rclone_backend/rclone_backend.go

2
weed/storage/backend/rclone_backend/rclone_backend.go

@ -202,7 +202,7 @@ func downloadViaRclone(fs fs.Fs, filename string, key string, fn func(progressed
}
}(file)
tr := accounting.NewStats(ctx).NewTransfer(obj)
tr := accounting.NewStats(ctx).NewTransfer(obj, fs)
defer tr.Done(ctx, err)
acc := tr.Account(ctx, rc)
pr := ProgressReader{acc: acc, tr: tr, fn: fn}

|||||||
100:0
Loading…
Cancel
Save