added CET timezone

This commit is contained in:
Mukhtar Akere
2025-06-16 22:54:11 +01:00
parent b7226b21ec
commit 5661b05ec1
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -257,8 +257,11 @@ func (c *Cache) reInsertTorrent(ct *CachedTorrent) (*CachedTorrent, error) {
return ct, nil
}
func (c *Cache) resetInvalidLinks() {
func (c *Cache) resetInvalidLinks(ctx context.Context) {
c.logger.Debug().Msgf("Resetting accounts")
c.invalidDownloadLinks = sync.Map{}
c.client.Accounts().Reset() // Reset the active download keys
// Refresh the download links
c.refreshDownloadLinks(ctx)
}