MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / query-pool.test.ts

File query-pool.test.ts

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

Source from the content-addressed store, hash-verified

1/**
2 * QueryPool — the off-loop worker pool that keeps the shared daemon's main
3 * event loop free for the MCP transport under concurrent read load (the
4 * "10 subagents time out" report). These tests drive the pool's queue / growth /

Callers

nothing calls this directly

Calls 7

resolvePoolSizeFunction · 0.90
okFunction · 0.85
poisonFunction · 0.85
sleepFunction · 0.70
runMethod · 0.65
allMethod · 0.65
destroyMethod · 0.45

Tested by

no test coverage detected