From 7b177679af2d71caf4b7537b44d794c9a4ab9536 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sat, 20 Oct 2018 14:52:45 +0200 Subject: [PATCH] Faster exchange rates updates --- funding/bin/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funding/bin/utils.py b/funding/bin/utils.py index 3ba8672..0602b91 100644 --- a/funding/bin/utils.py +++ b/funding/bin/utils.py @@ -30,7 +30,7 @@ class Summary: 'coin-btc': coin_btc_value(), 'btc-usd': price_cmc_btc_usd() } - cache.set(cache_key, data=data, expiry=7200) + cache.set(cache_key, data=data, expiry=1200) g.coin_prices = data return data