Skip to content

Commit

Permalink
test m3u8-downloader.go
Browse files Browse the repository at this point in the history
  • Loading branch information
llychao authored Aug 5, 2024
1 parent a573a6a commit 7114000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m3u8-downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func downloadTsFile(ts TsInfo, download_dir, key string, retries int) {

// downloader m3u8 下载器
func downloader(tsList []TsInfo, maxGoroutines int, downloadDir string, key string) {
retry := 5 //单个 ts 下载重试次数
retry := 5 //单个ts 下载重试次数
var wg sync.WaitGroup
limiter := make(chan struct{}, maxGoroutines) //chan struct 内存占用 0 bool 占用 1
tsLen := len(tsList)
Expand Down

0 comments on commit 7114000

Please sign in to comment.