diff options
| author | Jan C <jan@ruken.pw> | 2016-03-28 12:30:29 (UTC) | 
|---|---|---|
| committer | Jan C <jan@ruken.pw> | 2016-03-28 12:30:29 (UTC) | 
| commit | 6c7e2d5c7c231e5cf409974994545d7901846a6b (patch) | |
| tree | 0038d652c665208db7e946832d551509a60f6195 /cache | |
| parent | e8f2412efe55c969390168e3ce0b41200f780a1e (diff) | |
cache auf 15 minuten erhoeht
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) { | 
