Update torrent.go

This commit is contained in:
nikk gitanes
2024-06-04 01:45:52 +03:00
parent 785abc38f9
commit 9388b723fd

View File

@@ -134,7 +134,7 @@ func (t *Torrent) GotInfo() bool {
t.Stat = state.TorrentGettingInfo t.Stat = state.TorrentGettingInfo
if t.WaitInfo() { if t.WaitInfo() {
t.Stat = state.TorrentWorking t.Stat = state.TorrentWorking
t.AddExpiredTime(time.Minute + time.Second*time.Duration(settings.BTsets.TorrentDisconnectTimeout)) t.AddExpiredTime(time.Second * time.Duration(settings.BTsets.TorrentDisconnectTimeout))
return true return true
} else { } else {
t.Close() t.Close()