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

Method setQueryPool

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

2180 * worker's own ToolHandler never has a pool, so there is no nested off-loading.
2181 */
2182 setQueryPool(pool: QueryPool | null): void {
2183 this.queryPool = pool;
2184 }
2185
2186 /**
2187 * 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