main v1.5.16
orestonce 2022-08-30 08:45:18 +08:00
parent a46b8388c7
commit 912f62c5a4
1 changed files with 2 additions and 2 deletions

View File

@ -448,7 +448,7 @@ func (this *downloadEnv) SleepDur(d time.Duration) {
}
func (this *downloadEnv) downloader(tsList []TsInfo, downloadDir string, key string) (err error) {
task := gopool.NewThreadPool(1)
task := gopool.NewThreadPool(8)
tsLen := len(tsList)
downloadCount := 0
var locker sync.Mutex