1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-07 21:58:06 -05:00

tweak script plugin web request concurrency

This commit is contained in:
RaidMax 2023-05-30 15:01:01 -05:00
parent 55e5f4699e
commit 34a56d52a1

View File

@ -14,8 +14,8 @@ public class ScriptPluginHelper
{ {
private readonly IManager _manager; private readonly IManager _manager;
private readonly ScriptPluginV2 _scriptPlugin; private readonly ScriptPluginV2 _scriptPlugin;
private readonly SemaphoreSlim _onRequestRunning = new(1, 5); private readonly SemaphoreSlim _onRequestRunning = new(1, 1);
private const int RequestTimeout = 500; private const int RequestTimeout = 5000;
public ScriptPluginHelper(IManager manager, ScriptPluginV2 scriptPlugin) public ScriptPluginHelper(IManager manager, ScriptPluginV2 scriptPlugin)
{ {