Reconfigure timeouts
This commit is contained in:
@@ -172,7 +172,7 @@ func (z *ZurgConfig) EnableDownloadCache() bool {
|
||||
|
||||
func (z *ZurgConfig) GetRealDebridTimeout() int {
|
||||
if z.RealDebridTimeout == 0 {
|
||||
return 60
|
||||
return 10
|
||||
}
|
||||
return z.RealDebridTimeout
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ func (dl *Downloader) streamFileToResponse(torrent *intTor.Torrent, file *intTor
|
||||
}
|
||||
}
|
||||
|
||||
log.Debugf("Started serving file %s", unrestrict.Filename)
|
||||
log.Infof("Started serving file %s%s", unrestrict.Filename, rangeLog)
|
||||
|
||||
buf := make([]byte, cfg.GetNetworkBufferSize())
|
||||
io.CopyBuffer(resp, download.Body, buf)
|
||||
|
||||
Reference in New Issue
Block a user