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

Method setQueryPool

src/mcp/tools.ts:2156–2158  ·  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

2154 * worker's own ToolHandler never has a pool, so there is no nested off-loading.
2155 */
2156 setQueryPool(pool: QueryPool | null): void {
2157 this.queryPool = pool;
2158 }
2159
2160 /**
2161 * Engine-only: own the lifecycle (watcher, catch-up, writer lock) of every

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected