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

Method setQueryPool

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

846 * worker's own ToolHandler never has a pool, so there is no nested off-loading.
847 */
848 setQueryPool(pool: QueryPool | null): void {
849 this.queryPool = pool;
850 }
851
852 /**
853 * 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