Implements some micro-optimizations
All checks were successful
Build / Build (push) Successful in 51s
All checks were successful
Build / Build (push) Successful in 51s
This commit is contained in:
@@ -59,7 +59,7 @@ public static class TestCommandRunner
|
||||
Log.Debug("Starting {TaskCount} tasks", maxTasks);
|
||||
await Task.WhenAll(battleTasks);
|
||||
Log.Debug("Batch of {TaskCount} tasks completed", maxTasks);
|
||||
battleTasks = new Task[maxTasks]; // Reset tasks for the next batch
|
||||
Array.Fill(battleTasks, Task.CompletedTask); // Reset tasks for the next batch
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user