aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan C <jan@ruken.pw>2016-03-28 12:30:29 (UTC)
committerJan C <jan@ruken.pw>2016-03-28 12:30:29 (UTC)
commit6c7e2d5c7c231e5cf409974994545d7901846a6b (patch)
tree0038d652c665208db7e946832d551509a60f6195
parente8f2412efe55c969390168e3ce0b41200f780a1e (diff)
cache auf 15 minuten erhoeht
-rw-r--r--cache/cache.go2
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
34func (c *Cache) Insert(key int, item interface{}) { 34func (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
38func (c *Cache) Remove(key int) { 38func (c *Cache) Remove(key int) {