Skip to content

Commit

Permalink
Only print if Verbose is true (#392)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomasz Janiszewski <janiszt@gmail.com>
  • Loading branch information
xyproto and janisz committed Feb 22, 2024
1 parent 5ef524d commit 901589e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bigcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package bigcache
import (
"context"
"errors"
"fmt"
"time"
)

Expand Down Expand Up @@ -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()))
Expand Down

0 comments on commit 901589e

Please sign in to comment.