Mark torrent as repaired

This commit is contained in:
Ben Sarmiento
2024-01-17 05:54:55 +01:00
parent 5049320379
commit b67c73dc41

View File

@@ -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))
})
}