diff --git a/cache/cache.go b/cache/cache.go index f29c219c1..80e631a8f 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -21,9 +21,9 @@ func Set(c context.Context, key string, value interface{}) error { } // Default creates an in-memory cache with the default -// 24 hour expiration period. +// 30 minute expiration period. func Default() Cache { - return cache.NewMemoryWithTTL(time.Hour * 24) + return cache.NewMemoryWithTTL(time.Minute * 30) } // NewTTL returns an in-memory cache with the specified