change update torrent stat

This commit is contained in:
YouROK
2021-02-19 00:21:51 +03:00
parent 2b1e66cf59
commit 2ba8cedb1a

View File

@@ -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 {