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

Method setQueryPool

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

2219 * worker's own ToolHandler never has a pool, so there is no nested off-loading.
2220 */
2221 setQueryPool(pool: QueryPool | null): void {
2222 this.queryPool = pool;
2223 }
2224
2225 /**
2226 * 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