mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
update reader and wait timeout
This commit is contained in:
@@ -100,8 +100,8 @@ func (t *Torrent) WaitInfo() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Close torrent if not info while 10 minutes
|
||||
tm := time.NewTimer(time.Minute * 10)
|
||||
// Close torrent if not info while 5 minutes
|
||||
tm := time.NewTimer(time.Minute * 5)
|
||||
|
||||
select {
|
||||
case <-t.Torrent.GotInfo():
|
||||
|
||||
Reference in New Issue
Block a user