From e4ec6591b9b57a4f2a2f3661098d9084337e65cd Mon Sep 17 00:00:00 2001 From: Johannes Moos Date: Wed, 11 Apr 2018 18:11:09 +0200 Subject: [PATCH] Increase default cache time to 10 minutes --- bird/bird.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bird/bird.go b/bird/bird.go index 68c88ad..285f9e8 100644 --- a/bird/bird.go +++ b/bird/bird.go @@ -49,7 +49,7 @@ func fromCache(key string) (Parsed, bool) { } func toCache(key string, val Parsed) { - val["ttl"] = time.Now().Add(5 * time.Minute) + val["ttl"] = time.Now().Add(10 * time.Minute) Cache.Lock() Cache.m[key] = val Cache.Unlock()