chiark / gitweb /
Base the fallback timeout on how long we were expecting to sleep.
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 24 Nov 2018 10:21:09 +0000 (10:21 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 8 Dec 2018 22:30:09 +0000 (22:30 +0000)
commitf44b7ad28e0e416f3e16a8eb83c46edd7c959068
treee2fd8ad6c3e4e93a5db3acadb42feaadd71f9dd0
parent5fc5891f54dd90ad6b250ed860764ca7cc3be77e
Base the fallback timeout on how long we were expecting to sleep.

That way, if we were planning to sleep for a second we won't wait 31 s
before discovering that the clock's been set back.
clunk.c