feat: lower timeout in twilight gateway ratelimiter

This commit is contained in:
spiral
2021-12-26 01:42:47 -05:00
parent 50f9465826
commit 40acd9370c

View File

@@ -4,7 +4,7 @@ namespace Myriad.Gateway.Limit;
public class TwilightGatewayRatelimiter: IGatewayRatelimiter public class TwilightGatewayRatelimiter: IGatewayRatelimiter
{ {
private readonly HttpClient _httpClient = new() { Timeout = TimeSpan.FromSeconds(60) }; private readonly HttpClient _httpClient = new() { Timeout = TimeSpan.FromSeconds(30) };
private readonly ILogger _logger; private readonly ILogger _logger;
private readonly string _url; private readonly string _url;