From e23e0be8006ba3d2bc33d7542a8f63ecb38e4a12 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Wed, 5 May 2021 00:00:11 -0700 Subject: [PATCH] cache node info for longer --- app/library/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/library/cache.py b/app/library/cache.py index a576f45..c783a47 100644 --- a/app/library/cache.py +++ b/app/library/cache.py @@ -53,7 +53,7 @@ class Cache(object): url = f'http://{dns}:18081/get_info' r = r_get(url, timeout=6) data = r.json() - self.store_data(key_name, 8, json_dumps(data)) + self.store_data(key_name, 30, json_dumps(data)) return data except: return {'error': 'true'}