mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-05 02:43:32 +00:00
fix: remove hardcoded 300-flows cap for large repositories
The dynamicMaxProcesses was capped at 300 via Math.min(300, ...), causing large repositories (280K+ nodes) to lose execution flows. Change: Remove the Math.min(300, ...) cap, keep dynamic calculation. Effect: 280K-node repo: 300 → 1617 flows.
This commit is contained in:
parent
4c73b18387
commit
c3ce8c7bd4
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ export const processesPhase: PipelinePhase<ProcessesOutput> = {
|
|||
ctx.graph.forEachNode((n) => {
|
||||
if (n.label !== 'File') symbolCount++;
|
||||
});
|
||||
const dynamicMaxProcesses = Math.max(20, Math.min(300, Math.round(symbolCount / 10)));
|
||||
const dynamicMaxProcesses = Math.max(20, Math.round(symbolCount / 10));
|
||||
|
||||
const processResult = await processProcesses(
|
||||
ctx.graph,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue