Continue on delete failure for bins
This commit is contained in:
@@ -67,12 +67,10 @@ func (t *TorrentManager) invokeRepair(torrent *Torrent) {
|
||||
t.repairRunningMu.Unlock()
|
||||
|
||||
// before we let go, let's check repairQueue
|
||||
t.workerPool.Submit(func() {
|
||||
queuedTorrent, exists := t.repairQueue.Pop()
|
||||
if exists {
|
||||
t.TriggerRepair(queuedTorrent)
|
||||
}
|
||||
})
|
||||
queuedTorrent, exists := t.repairQueue.Pop()
|
||||
if exists {
|
||||
t.TriggerRepair(queuedTorrent)
|
||||
}
|
||||
}
|
||||
|
||||
// TriggerRepair allows an on-demand repair to be initiated.
|
||||
|
||||
Reference in New Issue
Block a user