Since I dual-boot with windows, I keep my system clock set to local time, and so all services waiting on clock time out after clock changes the time. Reproducible: Always Steps to Reproduce:
Created attachment 118554 [details, diff] a hack to fix this Here's a hacky patch to fix this by adding clock to the force-wait-forever lists; as the comment says, using CLOCK_MONOTONIC is probably the right answer -- if we can count on it working everywhere?
Created attachment 118582 [details, diff] Use sysinfo uptime or clock_gettime Fair enough, try this patch then. I dislike clock_gettime on Linux as it requires linking to librt. Luckily we don't need that for our FreeBSD users :)
Does this work for you?
Yup, looks good!
Fixed in alpha3