MCPcopy Create free account
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 MCP server's main
3 * event loop free for the MCP transport under concurrent read load (the
4 * "10 subagents time out" report). Unit tests drive the pool's queue / growth /

Callers

nothing calls this directly

Calls 15

resolvePoolSizeFunction · 0.90
describeFunction · 0.85
releaseFunction · 0.85
keepingPoolFunction · 0.85
poisonFunction · 0.85
fromMethod · 0.80
pushMethod · 0.80
waitForMethod · 0.80
emitMessageMethod · 0.80
emitExitMethod · 0.80
emitErrorMethod · 0.80
getToolHandlerMethod · 0.80

Tested by

no test coverage detected