From 85fcf0bc60130fa83539b28649a762ca25c48047 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Fri, 10 Nov 2017 13:42:43 +0100 Subject: [PATCH] .crypto will cache for only 1 hour now, in order to get more accurate prices --- NadekoBot.Core/Modules/Searches/Services/SearchesService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot.Core/Modules/Searches/Services/SearchesService.cs b/NadekoBot.Core/Modules/Searches/Services/SearchesService.cs index 2755cfb1..0d567e42 100644 --- a/NadekoBot.Core/Modules/Searches/Services/SearchesService.cs +++ b/NadekoBot.Core/Modules/Searches/Services/SearchesService.cs @@ -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