fix: task lock by unreachable torrent (#431)

This commit is contained in:
Levi authored and GitHub committed 2024-03-29 22:11:21 +08:00
1 parent bd6d6be71f
commit 56ef25065e
5 files changed
+93 -67

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ type Task struct {
fetcherBuilder fetcher.FetcherBuilder
fetcher fetcher.Fetcher
timer *util.Timer
statusLock *sync.Mutex
lock *sync.Mutex
speedArr []int64
}