MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / resolver-pool-sizing.test.ts

File resolver-pool-sizing.test.ts

__tests__/resolver-pool-sizing.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Resolver-pool sizing (§7a.1 P1.2): cgroup-honest CPU term + memory-aware
3 * cap + the CODEGRAPH_RESOLVE_WORKERS override. resolvePoolSize is pure —
4 * these pin the whole decision matrix, including the two failure modes the

Callers

nothing calls this directly

Calls 4

memoryBudgetBytesFunction · 0.90
cgroupMemoryAvailableFunction · 0.90
darwinMemoryAvailableFunction · 0.90
sizeFunction · 0.70

Tested by

no test coverage detected