]> git.ipfire.org Git - fireperf.git/commit
server: Prevent useless stats printed when called too soon
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Jan 2021 17:21:25 +0000 (17:21 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Jan 2021 17:21:25 +0000 (17:21 +0000)
commitd564e36c977a5be20cb0fd401787c300490d98d1
treed635b15b68a61ac68441cff9fbccdca4b7b0a6ac
parent053fdc977171ce204f5df6b8280378c7e20f5168
server: Prevent useless stats printed when called too soon

Sometimes the timer event gets stuck in the queue and we would be called
multiple times in a row. To prevent printing any useless output, we just
ignore any calls that were too soon.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/server.c