MCPcopy Create free account
hub / github.com/SethGammon/Citadel / sweep

Function sweep

scripts/coordination.js:85–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85function sweep() {
86 const result = sweepStaleInstances();
87 for (const entry of result.swept) {
88 console.log(`Swept: ${entry.instanceId} (${entry.reason})`);
89 }
90 console.log(`Sweep complete. Cleaned ${result.cleaned} instance(s).`);
91}
92
93function status() {
94 const instances = getCoordinationStatus().instances;

Callers 1

coordination.jsFile · 0.85

Calls 1

sweepStaleInstancesFunction · 0.85

Tested by

no test coverage detected