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

Method recycleAll

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

538 * this before its retry pass so crash-on-memory files get the cleanest heap.
539 */
540 recycleAll(): void {
541 for (const w of [...this.idle]) this.recycle(w);
542 }
543
544 /** Terminate all workers and reject any outstanding parses. */
545 async destroy(): Promise<void> {

Callers 1

indexAllMethod · 0.80

Calls 1

recycleMethod · 0.95

Tested by

no test coverage detected