move assignment of links to repair

This commit is contained in:
Ben Adrian Sarmiento
2024-06-05 19:44:53 +02:00
parent c63ce8da0a
commit cc19423420
2 changed files with 4 additions and 8 deletions

View File

@@ -134,14 +134,6 @@ func (t *TorrentManager) refreshTorrents() {
}
})
})
t.workerPool.Submit(func() {
allTorrents.IterCb(func(accessKey string, torrent *Torrent) {
if torrent.UnassignedLinks.Cardinality() > 0 {
t.assignLinks(torrent)
}
})
})
}
// StartRefreshJob periodically refreshes the torrents