Remove options

This commit is contained in:
Ben Sarmiento
2024-01-29 02:59:01 +01:00
parent e69f57b930
commit cd5e0ef1a7
2 changed files with 6 additions and 24 deletions

View File

@@ -45,6 +45,7 @@ func (t *TorrentManager) refreshTorrents() []string {
}
wg.Wait()
close(infoChan)
t.log.Infof("Fetched info for %d torrents", len(instances))
// delete expired fixers
@@ -73,7 +74,6 @@ func (t *TorrentManager) refreshTorrents() []string {
}
t.log.Debugf("Delete once done left: %d", t.deleteOnceDone.Cardinality())
close(infoChan)
newlyFetchedKeys := mapset.NewSet[string]()
noInfoCount := 0
for info := range infoChan {