]> git.ipfire.org Git - people/stevee/guardian.git/commit
Pause/Continue worker threads instead of restarting them.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 29 Jul 2016 08:34:50 +0000 (10:34 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 29 Jul 2016 08:38:25 +0000 (10:38 +0200)
commitbac2d500f92d4cc1c19cef8c9a3d6717b963d657
treeb8810b49bf36da31400b478f2a4dc56222a21211
parent8a79df70921e2a0da6a31d32f4f3a3ff5ecdf08b
Pause/Continue worker threads instead of restarting them.

When reloading the configuration or recieving a logrotate event,
the running workers now will be paused and afterwards continued.

This will save system ressources, because they do not need get killed and
restarted anymore.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
guardian.in