MCPcopy
hub / github.com/colbymchenry/codegraph / setQueryPool

Method setQueryPool

src/mcp/tools.ts:818–820  ·  view source on GitHub ↗

* Engine-only: attach (or detach with null) the worker-thread query pool. The * shared daemon sets this once its default project is open; 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 nest

(pool: QueryPool | null)

Source from the content-addressed store, hash-verified

816 * worker's own ToolHandler never has a pool, so there is no nested off-loading.
817 */
818 setQueryPool(pool: QueryPool | null): void {
819 this.queryPool = pool;
820 }
821
822 /**
823 * Update the default CodeGraph instance (e.g. after lazy initialization)

Callers 2

maybeStartPoolMethod · 0.80
stopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected