Mark torrent as repaired
This commit is contained in:
@@ -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))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user