Merge branch 'master' into mq-subscribe

This commit is contained in:
chrislu 2024-03-19 09:14:27 -07:00
commit 96149cbf7f

View File

@ -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}