Fix duration bug in config

This commit is contained in:
Mukhtar Akere
2025-06-16 13:55:02 +01:00
parent 8d87c602b9
commit 605d5b81c2
4 changed files with 37 additions and 28 deletions

View File

@@ -258,6 +258,7 @@ func (c *Cache) reInsertTorrent(ct *CachedTorrent) (*CachedTorrent, error) {
}
func (c *Cache) resetInvalidLinks() {
c.logger.Debug().Msgf("Resetting accounts")
c.invalidDownloadLinks = sync.Map{}
c.client.Accounts().Reset() // Reset the active download keys
}