Faster exchange rates updates

This commit is contained in:
Sander Ferdinand 2018-10-20 14:52:45 +02:00
parent 0902acf633
commit 7b177679af
No known key found for this signature in database
GPG Key ID: 7BBC83D7A8810AAB
1 changed files with 1 additions and 1 deletions

View File

@ -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