Skip to content

Commit

Permalink
Remove debug logging from cache cleanup method
Browse files Browse the repository at this point in the history
  • Loading branch information
presbrey committed Feb 4, 2025
1 parent 57dde2c commit 2ba5c20
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions base_cache.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package gormoize

import (
"log"
"sync"
"time"

Expand Down Expand Up @@ -128,7 +127,6 @@ func (c *baseCache) cleanup() {

now := time.Now()
for key, lastUsed := range c.lastUsed() {
log.Printf("key: %s, lastUsed: %v, now: %v, maxAge: %v", key, lastUsed, now, c.maxAge)
if now.Sub(lastUsed) > c.maxAge {
c.cleanupItem(key)
}
Expand Down

0 comments on commit 2ba5c20

Please sign in to comment.