[multiple] prefer monotonic time for internal use

(this commit, actually switch to call new func to get monotonic time)
master
Glenn Strauss 2 years ago
parent ea6e3445a7
commit c035eb7733

@ -229,7 +229,7 @@ static time_t
server_monotonic_secs (void)
{
struct timespec ts;
return (0 == log_clock_gettime_realtime(&ts))
return (0 == log_clock_gettime_monotonic(&ts))
? ts.tv_sec
: log_monotonic_secs;
}

Loading…
Cancel
Save