MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / poolStartBeforeFirstBatch

Function poolStartBeforeFirstBatch

src/resolution/resolver-pool.ts:91–95  ·  view source on GitHub ↗
(total: number, fullIndex: boolean)

Source from the content-addressed store, hash-verified

89 * themselves, which can read every source file.
90 */
91export function poolStartBeforeFirstBatch(total: number, fullIndex: boolean): 'up-front' | 'near-gate' | null {
92 if (total >= minRefsForPool()) return 'up-front';
93 if (fullIndex && total >= nearGatePoolMin()) return 'near-gate';
94 return null;
95}
96
97/**
98 * Fewest refs still to settle for the batch loop to boot the pool mid-run

Callers 2

Calls 2

minRefsForPoolFunction · 0.85
nearGatePoolMinFunction · 0.85

Tested by

no test coverage detected