perf: enable local channel planner parallelism on node 25

This commit is contained in:
Peter Steinberger
2026-03-26 16:05:23 +00:00
parent bac603a63e
commit 880b2fb7fd

View File

@@ -286,7 +286,7 @@ export function resolveExecutionBudget(runtimeCapabilities) {
unitHeavyWorkers: Math.min(cpuCount, bandBudget.unitHeavy),
extensionWorkers: Math.min(cpuCount, bandBudget.extensions),
gatewayWorkers: Math.min(cpuCount, bandBudget.gateway),
topLevelParallelEnabled: runtime.nodeMajor < 25,
topLevelParallelEnabled: !runtime.isWindows,
topLevelParallelLimit: Math.min(cpuCount, bandBudget.topLevelIsolated),
topLevelParallelLimitNoIsolate: Math.min(cpuCount, bandBudget.topLevelNoIsolate),
topLevelParallelLimitIsolated: Math.min(cpuCount, bandBudget.topLevelIsolated),