mirror of
https://github.com/Stone-Red-Code/RemoteExec.git
synced 2026-09-04 17:16:22 +02:00
Cleanup code
This commit is contained in:
@@ -115,10 +115,8 @@ public class RemoteExecutionHub : Hub
|
||||
{
|
||||
await foreach (TaskItem taskItem in taskStream.WithCancellation(Context.ConnectionAborted))
|
||||
{
|
||||
// Wait for available slot before processing
|
||||
await taskSemaphore.WaitAsync(Context.ConnectionAborted);
|
||||
|
||||
// Process task asynchronously without blocking the stream
|
||||
_ = Task.Run(async () =>
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user