diff options
Diffstat (limited to 'cache')
-rw-r--r-- | cache/cache.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/cache.go b/cache/cache.go index ca588ae..f6e5661 100644 --- a/cache/cache.go +++ b/cache/cache.go | |||
@@ -32,7 +32,7 @@ func (c *Cache) ticker() { | |||
32 | } | 32 | } |
33 | 33 | ||
34 | func (c *Cache) Insert(key int, item interface{}) { | 34 | func (c *Cache) Insert(key int, item interface{}) { |
35 | c.items[key] = CacheItem{ time.Now().Add(time.Minute * 5), item } | 35 | c.items[key] = CacheItem{ time.Now().Add(time.Minute * 15), item } |
36 | } | 36 | } |
37 | 37 | ||
38 | func (c *Cache) Remove(key int) { | 38 | func (c *Cache) Remove(key int) { |