()
| 83 | } |
| 84 | |
| 85 | function 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 | |
| 93 | function status() { |
| 94 | const instances = getCoordinationStatus().instances; |
no test coverage detected