fix(download): separate torrent progress from transfer rates (#1654)

Co-authored-by: xunguangzlj-cloud <[email protected]>
This commit is contained in:
Lykinandxunguangzlj-cloud authored and GitHub committed 2026-11-11 09:37:31 +08:00
1 parent 392ee36137
commit 89dfbe4c45
7 files changed
+247 -44

No files matched your search

+4
View File
@@ -46,6 +46,10 @@ type Uploader interface {
WaitUpload() error
}
type DownloadCounter interface {
ReceivedBytes() int64
}
// FetcherMeta defines the meta information of a fetcher.
type FetcherMeta struct {
Req *base.Request `json:"req"`