Skip to main content

Module skew

Module skew 

Source

Structs§

ClockSkewWarning
Warning emitted when clock skew is detected.

Constants§

DEFAULT_SKEW_THRESHOLD_SECS
Default skew threshold in seconds (5 minutes).

Functions§

check_clock_skew
Check for clock skew between an event’s timestamp and the current wall time. Returns Some(warning) if the absolute difference exceeds threshold_secs.
wall_clock_now
Get the current wall-clock time as Unix epoch seconds.