The live timer's phase sat one second before each watchdog loop probe, so every confirmation waited almost a whole extra period. A run is a JSON read unless a step is due, and the ladder already ignores a probe it has seen, so a one-minute cadence costs nothing.
14 lines
482 B
SYSTEMD
14 lines
482 B
SYSTEMD
[Unit]
|
|
Description=Check for repeated macro loops after watchdog probes
|
|
|
|
[Timer]
|
|
# Every minute: a run only reads /run/fly/wd/loop.json unless a step is due, and the ladder's
|
|
# state ignores a probe it has already seen. On a 5-minute cadence the timer's phase can sit just
|
|
# before each loop probe (live, 2026-09-28: one second), costing ~5 minutes per confirmation.
|
|
OnBootSec=2min
|
|
OnUnitActiveSec=1min
|
|
AccuracySec=5s
|
|
Unit=fly-loop-recover.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|