Merge remote-tracking branch 'origin/master'

This commit is contained in:
YouROK
2021-08-22 12:00:52 +03:00
4 changed files with 16 additions and 9 deletions

View File

@@ -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():