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:
parent
55e5f4699e
commit
34a56d52a1
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user