HomeClusterLabs Projects

Fix: executor: handle systemd execution times under 1 second

Description

Fix: executor: handle systemd execution times under 1 second

The switch to clock_gettime() made default in b5ff0e47 checked whether
a struct timespec was set by checking the number of seconds for nonzero.
However a brief process could have zero seconds and nonzero nanoseconds.

Details

Provenance
kgaillotAuthored on Feb 20 2020, 5:56 PM
Parents
rP1f79b43fa2fe: Refactor: executor: systemd is no longer supported without monotonic clock
Branches
Unknown
Tags
Unknown

Event Timeline