journald: fix accuracy of watchdog timer event
authorLennart Poettering <lennart@poettering.net>
Thu, 12 Nov 2015 11:33:10 +0000 (12:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 12 Nov 2015 11:33:10 +0000 (12:33 +0100)
commit4de2402b603ea2f518f451d06f09e15aeae54fab
treede2a2996ac94633ee52b00a647bab0cbc223f3ef
parent33d52ab92f2f0bfd706e6f343d172618d1e03f3d
journald: fix accuracy of watchdog timer event

Adding 3/4th of the watchdog frequency as accuracy on top of 1/2 of the
watchdog frequency means we might end up at 5/4th of the frequency which
means we might miss the message from time to time.

Maybe fixes #1804
src/journal/journald-server.c