Repair edge cases
This commit is contained in:
@@ -31,7 +31,7 @@ func (t *TorrentManager) RefreshTorrents() []string {
|
||||
if instances[idx].IsDone() && t.fixers.Has(instances[idx].ID) {
|
||||
fixer := instances[idx]
|
||||
torrent, _ := t.fixers.Pop(fixer.ID)
|
||||
t.log.Debugf("Fixer %s is done, let's check if it fixed torrent %s", instances[idx].ID, t.GetKey(torrent))
|
||||
t.log.Debugf("Fixer %s is done, let's check if it fixed torrent %s by redownloading", instances[idx].ID, t.GetKey(torrent))
|
||||
brokenFiles := getBrokenFiles(torrent)
|
||||
info, err := t.redownloadTorrent(torrent, "")
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user