Skip to main content

write_last_sync_record

Function write_last_sync_record 

Source
pub fn write_last_sync_record(push_n: usize, pull_n: usize, rejected_n: usize)
Expand description

Write the last-sync record. Called by cmd_daemon after each cycle (including –once). Best-effort: any error logs to stderr but does NOT abort the daemon loop — a wedged pidfile path shouldn’t take the sync loop down with it.