Merge branch 'main' into dont-connect-repo-in-repo-controller

This commit is contained in:
lyndon-li
2025-10-17 13:31:11 +08:00
committed by GitHub
5 changed files with 12 additions and 9 deletions
+1
View File
@@ -121,6 +121,7 @@ func (p *Progress) UploadStarted() {}
// CachedFile statistic the total bytes been cached currently
func (p *Progress) CachedFile(fname string, numBytes int64) {
atomic.AddInt64(&p.cachedBytes, numBytes)
atomic.AddInt64(&p.processedBytes, numBytes)
p.UpdateProgress()
}