mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-24 04:33:17 +00:00
e33c6be1ef
The mock generator stamped each job's last and next sync once at startup, with the last sync up to an hour old on a 15-minute schedule. Most jobs therefore started out overdue, and on a long-running demo every job read as hours overdue in red while still reporting Healthy. The demo's Replication tab looked broken to anyone evaluating Pulse. Replication timing now follows the fixture clock. Each job keeps a stable phase inside its schedule window, so a healthy job last synced less than one interval ago and is next due in the future, and a failing job's last good sync falls behind by its failure count. The target node was picked by index and could equal the source, which showed a job replicating pve1 to pve1. The source is no longer a candidate, and an estate without a second node gets no jobs.