feat: customize workers and retry of task (close #5493 fix #5274)

This commit is contained in:
Andy Hsu
2023-11-21 15:51:08 +08:00
parent 11a30c5044
commit 7583c4d734
8 changed files with 82 additions and 31 deletions

View File

@ -143,5 +143,5 @@ func (t *DownloadTask) GetStatus() string {
}
var (
DownloadTaskManager *tache.Manager[*DownloadTask] = tache.NewManager[*DownloadTask]()
DownloadTaskManager *tache.Manager[*DownloadTask]
)