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

Method setQueryPool

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

1357 * worker's own ToolHandler never has a pool, so there is no nested off-loading.
1358 */
1359 setQueryPool(pool: QueryPool | null): void {
1360 this.queryPool = pool;
1361 }
1362
1363 /**
1364 * 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