.crypto will cache for only 1 hour now, in order to get more accurate prices

This commit is contained in:
Master Kwoth committed 2017-11-10 13:43:06 +01:00
1 parent dad87457bf
commit 85fcf0bc60
1 file changed
+1 -1
@@ -68,7 +68,7 @@ namespace NadekoBot.Modules.Searches.Services
data = await Http.GetStringAsync("https://api.coinmarketcap.com/v1/ticker/")
.ConfigureAwait(false);
await r.StringSetAsync("crypto_data", data, TimeSpan.FromHours(6)).ConfigureAwait(false);
await r.StringSetAsync("crypto_data", data, TimeSpan.FromHours(1)).ConfigureAwait(false);
}
}
finally