Update runv2.go

timeout 20000->0
This commit is contained in:
itouakirai
2025-01-09 22:38:43 +08:00
committed by GitHub
parent 7fafb886b9
commit 0e51e7572a

View File

@ -47,7 +47,7 @@ func (b *TimedResponseBody) Read(p []byte) (int, error) {
func Run(adamId string, playlistUrl string, outfile string, Config structs.ConfigSet) error {
var err error
var optstimeout uint
optstimeout = 20000
optstimeout = 0
timeout := time.Duration(optstimeout * uint(time.Millisecond))
header := make(http.Header)