Implements some micro-optimizations
Build / Build (push) Successful in 51s

This commit is contained in:
Deukhoofd committed 2025-07-05 15:46:32 +02:00
1 parent c795f20e54
commit 8a857ed232
11 files changed
+80 -21

No files matched your search

+1 -1
View File
@@ -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
}
}