From 20c1ca6e33a3de260b3ab5f84391fa4c07e278e7 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Thu, 21 Jan 2016 13:23:19 -0800 Subject: [PATCH] Update cache.go set the cache to 30m instead of 24h until we have a way to flush from the UI --- cache/cache.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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