feat: lower timeout in twilight gateway ratelimiter
This commit is contained in:
parent
50f9465826
commit
40acd9370c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user