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

Function minRefsForPool

src/resolution/resolver-pool.ts:62–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 * forces the pool on).
61 */
62export function minRefsForPool(): number {
63 const raw = process.env.CODEGRAPH_PARALLEL_RESOLVE_MIN;
64 if (raw !== undefined) {
65 const parsed = Number.parseInt(raw, 10);
66 if (Number.isFinite(parsed) && parsed >= 0) return parsed;
67 }
68 return 150_000;
69}
70
71/**
72 * Fewest refs for a full index to start the pool before its first batch

Callers 2

nearGatePoolMinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected