diff --git a/internal/torrent/repair.go b/internal/torrent/repair.go index e481568..7b65ea7 100644 --- a/internal/torrent/repair.go +++ b/internal/torrent/repair.go @@ -128,6 +128,7 @@ func (t *TorrentManager) Repair(torrent *Torrent) { _ = t.workerPool.Submit(func() { t.log.Infof("Repairing torrent %s", t.GetKey(torrent)) t.repair(torrent) + t.Repairs.Remove(t.GetKey(torrent)) t.log.Infof("Finished repairing torrent %s", t.GetKey(torrent)) }) }