diff --git a/cache/memory.go b/cache/memory.go index 3e24b948..7097759d 100644 --- a/cache/memory.go +++ b/cache/memory.go @@ -110,7 +110,7 @@ func (bc *MemoryCache) vaccuum() { return } for { - <-time.After(time.Duration(bc.dur)) + <-time.After(time.Duration(bc.dur) * time.Second) if bc.items == nil { return }