tweak script plugin web request concurrency

This commit is contained in:
RaidMax 2023-05-30 15:01:01 -05:00
parent 088f7a51be
commit 81e2a2f6d4

View File

@ -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)
{