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

Method recycleAll

src/extraction/parse-pool.ts:437–439  ·  view source on GitHub ↗

* Recycle every idle worker now (fresh WASM heaps). The orchestrator calls * this before its retry pass so crash-on-memory files get the cleanest heap.

()

Source from the content-addressed store, hash-verified

435 * this before its retry pass so crash-on-memory files get the cleanest heap.
436 */
437 recycleAll(): void {
438 for (const w of [...this.idle]) this.recycle(w);
439 }
440
441 /** Terminate all workers and reject any outstanding parses. */
442 async destroy(): Promise<void> {

Callers 1

indexAllMethod · 0.80

Calls 1

recycleMethod · 0.95

Tested by

no test coverage detected