From 2ba8cedb1ad64dd47c5bf4fc01c5ef0b73cba355 Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Fri, 19 Feb 2021 00:21:51 +0300 Subject: [PATCH] change update torrent stat --- 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 f17d9cc..9ae4009 100644 --- a/server/torr/torrent.go +++ b/server/torr/torrent.go @@ -132,7 +132,7 @@ func (t *Torrent) AddExpiredTime(duration time.Duration) { } func (t *Torrent) watch() { - t.progressTicker = time.NewTicker(time.Second) + t.progressTicker = time.NewTicker(time.Millisecond * 250) defer t.progressTicker.Stop() for {