diff --git a/server/torr/preload.go b/server/torr/preload.go index b26b97a..c66e80f 100644 --- a/server/torr/preload.go +++ b/server/torr/preload.go @@ -43,6 +43,9 @@ func (t *Torrent) Preload(index int, size int64) { defer func() { if t.Stat == state.TorrentPreload { t.Stat = state.TorrentWorking + // Очистка по окончании прелоада + t.BitRate = "" + t.DurationSeconds = 0 } }()