diff --git a/lru_cacher.go b/lru_cacher.go index a81c4ccc..8c912879 100644 --- a/lru_cacher.go +++ b/lru_cacher.go @@ -24,7 +24,7 @@ type LRUCacher struct { } func NewLRUCacher(store core.CacheStore, maxElementSize int) *LRUCacher { - return NewLRUCacher2(store, 0, maxElementSize) + return NewLRUCacher2(store, 3600*time.Second, maxElementSize) } func NewLRUCacher2(store core.CacheStore, expired time.Duration, maxElementSize int) *LRUCacher {