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

Method setQueryPool

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

1972 * worker's own ToolHandler never has a pool, so there is no nested off-loading.
1973 */
1974 setQueryPool(pool: QueryPool | null): void {
1975 this.queryPool = pool;
1976 }
1977
1978 /**
1979 * 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