@feigi/fleet-ctl 3.30.32 → 3.30.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/fleet-tick.mjs +3 -2
package/package.json
CHANGED
package/scripts/fleet-tick.mjs
CHANGED
|
@@ -1280,8 +1280,9 @@ function main() {
|
|
|
1280
1280
|
const prev = readState(path, NAME);
|
|
1281
1281
|
const digest = createHash("sha256").update(lines.join("\n")).digest("hex");
|
|
1282
1282
|
const acts = actionable(rows);
|
|
1283
|
-
// `ticked`, fleet-tick's own liveness key: written on
|
|
1284
|
-
//
|
|
1283
|
+
// `ticked`, fleet-tick's own liveness key: written on every tick that gets
|
|
1284
|
+
// past its refusals — a refused tick (exit 2) writes none; this tick
|
|
1285
|
+
// reaching here IS the occurrence.
|
|
1285
1286
|
writeState(path, NAME, prev, { quiet: acts ? 0 : prev.quiet + 1, digest, ticked: { at: Date.now() } });
|
|
1286
1287
|
|
|
1287
1288
|
// Fold only when BOTH hold: nothing to act on, and nothing new to say. A
|