Commit 80bf3d50 authored by Clint Mourlevat's avatar Clint Mourlevat

Changing to final value

parent 929fdb14
...@@ -34,7 +34,7 @@ namespace Stratis.Guru.Services ...@@ -34,7 +34,7 @@ namespace Stratis.Guru.Services
var coinmarketCapApiRequest = new RestRequest(Method.GET); var coinmarketCapApiRequest = new RestRequest(Method.GET);
var coinmarketcapApi = coinmarketCapApiClient.Execute(coinmarketCapApiRequest); var coinmarketcapApi = coinmarketCapApiClient.Execute(coinmarketCapApiRequest);
_memoryCache.Set("Coinmarketcap", coinmarketcapApi.Content); _memoryCache.Set("Coinmarketcap", coinmarketcapApi.Content);
updateTimer.Interval = TimeSpan.FromSeconds(10).TotalMilliseconds; updateTimer.Interval = TimeSpan.FromMinutes(10).TotalMilliseconds;
await _hubContext.Clients.All.SendAsync("UpdateTicker", cancellationToken); await _hubContext.Clients.All.SendAsync("UpdateTicker", cancellationToken);
}; };
updateTimer.Start(); updateTimer.Start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment