From 9388b723fd01fb4f84af50dab72c0c0827a4129e Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Tue, 4 Jun 2024 01:45:52 +0300 Subject: [PATCH] Update torrent.go --- server/torr/torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/torr/torrent.go b/server/torr/torrent.go index b38332c..aae3fc9 100644 --- a/server/torr/torrent.go +++ b/server/torr/torrent.go @@ -134,7 +134,7 @@ func (t *Torrent) GotInfo() bool { t.Stat = state.TorrentGettingInfo if t.WaitInfo() { 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 } else { t.Close()