MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / query-worker.ts

File query-worker.ts

src/mcp/query-worker.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Query worker thread — issue: concurrent MCP tool calls starve the daemon.
3 *
4 * The shared daemon serves every session on ONE event loop with synchronous

Callers

nothing calls this directly

Calls 11

collectBeforeExitFunction · 0.90
loadToolHandlerFunction · 0.85
closeAllMethod · 0.80
exitMethod · 0.80
releaseIdleMemoryMethod · 0.80
loadCodeGraphFunction · 0.70
serveFunction · 0.70
postMessageMethod · 0.65
onMethod · 0.65
closeMethod · 0.65
openSyncMethod · 0.45

Tested by

no test coverage detected