diff --git a/internal/torrent/uncached.go b/internal/torrent/uncached.go index 84e62d7..c2717ee 100644 --- a/internal/torrent/uncached.go +++ b/internal/torrent/uncached.go @@ -46,6 +46,10 @@ func (t *TorrentManager) getUncachedTorrents() ([]*Torrent, error) { var uncachedTorrents []*Torrent allTorrents.IterCb(func(_ string, torrent *Torrent) { + if torrent.AnyInProgress() || torrent.UnrepairableReason != "" { + return + } + if _, ok := availabilityChecks[torrent.Hash]; !ok || !availabilityChecks[torrent.Hash] { uncachedTorrents = append(uncachedTorrents, torrent) }