mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
add high priority queue
This commit is contained in:
parent
1cfcea7c13
commit
9f403345c9
2 changed files with 50 additions and 5 deletions
|
|
@ -65,7 +65,7 @@ public class RequestController : ControllerBase
|
|||
{
|
||||
try
|
||||
{
|
||||
if (!_requestQueue.StillEnqueued(requestId, MareUser))
|
||||
if (!await _requestQueue.StillEnqueued(requestId, MareUser))
|
||||
await _requestQueue.EnqueueUser(new(requestId, MareUser, files.ToList()));
|
||||
return Ok();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue