tweak script plugin web request concurrency
This commit is contained in:
parent
088f7a51be
commit
81e2a2f6d4
@ -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…
Reference in New Issue
Block a user