From 901589e4644bada4ee42e447c92fd4ea2618af3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=2E=20R=C3=B8dseth?= <52813+xyproto@users.noreply.github.com> Date: Thu, 22 Feb 2024 14:15:51 +0100 Subject: [PATCH] Only print if Verbose is true (#392) Co-authored-by: Tomasz Janiszewski --- bigcache.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/bigcache.go b/bigcache.go index 81a607d3..ca9eff74 100644 --- a/bigcache.go +++ b/bigcache.go @@ -3,7 +3,6 @@ package bigcache import ( "context" "errors" - "fmt" "time" ) @@ -111,7 +110,6 @@ func newBigCache(ctx context.Context, config Config, clock clock) (*BigCache, er for { select { case <-ctx.Done(): - fmt.Println("ctx done, shutting down bigcache cleanup routine") return case t := <-ticker.C: cache.cleanUp(uint64(t.Unix()))