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

Method setQueryPool

src/mcp/tools.ts:2338–2340  ·  view source on GitHub ↗

* Engine-only: attach (or detach with null) the worker-thread query pool. The * engine sets this after resolving its default project; the workers each * hold their own WAL read connection and run executeReadTool. A * worker's own ToolHandler never has a pool, so there is no nested o

(pool: QueryPool | null)

Source from the content-addressed store, hash-verified

2336 * worker's own ToolHandler never has a pool, so there is no nested off-loading.
2337 */
2338 setQueryPool(pool: QueryPool | null): void {
2339 this.queryPool = pool;
2340 }
2341
2342 /**
2343 * Engine-only: own the lifecycle (watcher, catch-up, writer lock) of every

Callers 5

maybeStartPoolMethod · 0.80
stopMethod · 0.80
query-pool.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected