From b67c73dc41faa504cad9a73b028b4366955f03fa Mon Sep 17 00:00:00 2001 From: Ben Sarmiento Date: Wed, 17 Jan 2024 05:54:55 +0100 Subject: [PATCH] Mark torrent as repaired --- internal/torrent/repair.go | 1 + 1 file changed, 1 insertion(+) 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)) }) }