From 5f5dcfbb993744706f02d38bf399df4446b2574f Mon Sep 17 00:00:00 2001 From: Archi Date: Mon, 23 Aug 2021 16:50:26 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/IPC/Integration/ApiAuthenticationMiddleware.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/IPC/Integration/ApiAuthenticationMiddleware.cs b/ArchiSteamFarm/IPC/Integration/ApiAuthenticationMiddleware.cs index 125703aa2..ffcb1372b 100644 --- a/ArchiSteamFarm/IPC/Integration/ApiAuthenticationMiddleware.cs +++ b/ArchiSteamFarm/IPC/Integration/ApiAuthenticationMiddleware.cs @@ -46,8 +46,8 @@ namespace ArchiSteamFarm.IPC.Integration { private const byte MaxFailedAuthorizationAttempts = 5; private static readonly SemaphoreSlim AuthorizationSemaphore = new(1, 1); - private static readonly ConcurrentDictionary FailedAuthorizations = new(); private static readonly Timer ClearFailedAuthorizationsTimer = new(ClearFailedAuthorizations); + private static readonly ConcurrentDictionary FailedAuthorizations = new(); private readonly ForwardedHeadersOptions ForwardedHeadersOptions; private readonly RequestDelegate Next;