From 81e2a2f6d4af34dfc56abaa916a9960668ee9676 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Tue, 30 May 2023 15:01:01 -0500 Subject: [PATCH] tweak script plugin web request concurrency --- Application/Plugin/Script/ScriptPluginHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Plugin/Script/ScriptPluginHelper.cs b/Application/Plugin/Script/ScriptPluginHelper.cs index 660a91d2f..be15c580a 100644 --- a/Application/Plugin/Script/ScriptPluginHelper.cs +++ b/Application/Plugin/Script/ScriptPluginHelper.cs @@ -14,8 +14,8 @@ public class ScriptPluginHelper { private readonly IManager _manager; private readonly ScriptPluginV2 _scriptPlugin; - private readonly SemaphoreSlim _onRequestRunning = new(1, 5); - private const int RequestTimeout = 500; + private readonly SemaphoreSlim _onRequestRunning = new(1, 1); + private const int RequestTimeout = 5000; public ScriptPluginHelper(IManager manager, ScriptPluginV2 scriptPlugin) {