mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 20:17:22 +01:00
decrease parallel request handling
This commit is contained in:
parent
cf6ad890cd
commit
b230f12508
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ public class RequestController : ControllerBase
|
|||
{
|
||||
private readonly CachedFileProvider _cachedFileProvider;
|
||||
private readonly RequestQueueService _requestQueue;
|
||||
private static SemaphoreSlim _parallelRequestSemaphore = new(500);
|
||||
private static SemaphoreSlim _parallelRequestSemaphore = new(250);
|
||||
|
||||
public RequestController(ILogger<RequestController> logger, CachedFileProvider cachedFileProvider, RequestQueueService requestQueue,
|
||||
ServerTokenGenerator generator) : base(logger, generator)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue