Unrepairable hotfix

This commit is contained in:
Ben Sarmiento
2023-12-08 14:14:58 +01:00
parent 045c31a9f9
commit 62bfa375ca
3 changed files with 12 additions and 11 deletions

View File

@@ -77,8 +77,6 @@ func (t *TorrentManager) RefreshTorrents() []string {
return true
})
t.SetNewLatestState(t.getCurrentState())
return updatedPaths
}
@@ -98,6 +96,7 @@ func (t *TorrentManager) startRefreshJob() {
if t.latestState.equal(checksum) {
continue
}
t.SetNewLatestState(checksum)
t.log.Infof("Detected changes! Refreshing %d torrents", checksum.TotalCount)
updatedPaths := t.RefreshTorrents()