Skip to content

sweepEgressTmp

sweepEgressTmp(liveSessionIds): void

Defined in: src/egress.ts:677

Startup reconcile sweep: remove any shepherd-egress/<id> dir whose id is NOT in liveSessionIds (the non-archived session set). Bounds unbounded growth from sessions whose teardown removal was missed (crash, restart). Best-effort — never throws; a single unremovable entry is skipped.

Iterable<string>

void