fixup! fixup! Cleanup.

This commit is contained in:
2025-09-27 00:39:57 +01:00
parent 4bf059bdd4
commit 427fa745eb
6 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -431,13 +431,13 @@ func (c *UniversalCache) Close() error {
// Cleanup routine finished normally
case <-time.After(2 * time.Second):
// Timeout waiting for cleanup routine
c.logger.Info("UniversalCache[%s]: Timeout waiting for cleanup routine", c.config.Type)
c.logger.Debug("UniversalCache[%s]: Timeout waiting for cleanup routine", c.config.Type)
}
// Clear all items
c.Clear()
c.logger.Infof("UniversalCache[%s]: Closed", c.config.Type)
c.logger.Debugf("UniversalCache[%s]: Closed", c.config.Type)
return nil
}