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

Method recycleAll

src/extraction/parse-pool.ts:565–567  ·  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

563 * this before its retry pass so crash-on-memory files get the cleanest heap.
564 */
565 recycleAll(): void {
566 for (const w of [...this.idle]) this.recycle(w);
567 }
568
569 /** Terminate all workers and reject any outstanding parses. */
570 async destroy(): Promise<void> {

Callers 1

indexAllMethod · 0.80

Calls 1

recycleMethod · 0.95

Tested by

no test coverage detected