From 636397efb838d74709401aaba9880679d339a300 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 16 Mar 2026 13:28:50 +0100 Subject: [PATCH] Remove MaxConcurrentInvocations from RecAction config Removed the MaxConcurrentInvocations property from the RecActionOptions class and deleted the corresponding setting from the RecAction section in appsettings.json. This makes RecActionOptions an empty class. --- src/ReC.API/appsettings.json | 1 - src/ReC.Application/Common/Options/RecActionOptions.cs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ReC.API/appsettings.json b/src/ReC.API/appsettings.json index 5813084..073b821 100644 --- a/src/ReC.API/appsettings.json +++ b/src/ReC.API/appsettings.json @@ -6,7 +6,6 @@ "AllowedHosts": "*", "LuckyPennySoftwareLicenseKey": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ikx1Y2t5UGVubnlTb2Z0d2FyZUxpY2Vuc2VLZXkvYmJiMTNhY2I1OTkwNGQ4OWI0Y2IxYzg1ZjA4OGNjZjkiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2x1Y2t5cGVubnlzb2Z0d2FyZS5jb20iLCJhdWQiOiJMdWNreVBlbm55U29mdHdhcmUiLCJleHAiOiIxNzg0ODUxMjAwIiwiaWF0IjoiMTc1MzM2MjQ5MSIsImFjY291bnRfaWQiOiIwMTk4M2M1OWU0YjM3MjhlYmZkMzEwM2MyYTQ4NmU4NSIsImN1c3RvbWVyX2lkIjoiY3RtXzAxazB5NmV3MmQ4YTk4Mzg3aDJnbTRuOWswIiwic3ViX2lkIjoiLSIsImVkaXRpb24iOiIwIiwidHlwZSI6IjIifQ.ZqsFG7kv_-xGfxS6ACk3i0iuNiVUXX2AvPI8iAcZ6-z2170lGv__aO32tWpQccD9LCv5931lBNLWSblKS0MT3gOt-5he2TEftwiSQGFwoIBgtOHWsNRMinUrg2trceSp3IhyS3UaMwnxZDrCvx4-0O-kpOzVpizeHUAZNr5U7oSCWO34bpKdae6grtM5e3f93Z1vs7BW_iPgItd-aLvPwApbaG9VhmBTKlQ7b4Jh64y7UXJ9mKP7Qb_Oa97oEg0oY5DPHOWTZWeE1EzORgVr2qkK2DELSHuZ_EIUhODojkClPNAKtvEl_qEjpq0HZCIvGwfCCRlKlSkQqIeZdFkiXg", "RecAction": { - "MaxConcurrentInvocations": 5 }, // Bad request SqlException numbers numbers can be updated at runtime; no restart required. "SqlException": { diff --git a/src/ReC.Application/Common/Options/RecActionOptions.cs b/src/ReC.Application/Common/Options/RecActionOptions.cs index 69ef2e6..59bb096 100644 --- a/src/ReC.Application/Common/Options/RecActionOptions.cs +++ b/src/ReC.Application/Common/Options/RecActionOptions.cs @@ -2,5 +2,4 @@ public class RecActionOptions { - public int MaxConcurrentInvocations { get; set; } = 5; -} +} \ No newline at end of file