parent
a46b8388c7
commit
912f62c5a4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue