]> git.ipfire.org Git - collecty.git/commit
daemon: Don't wait until the worker thread has finished after sending shutdown signal
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Jun 2015 11:47:18 +0000 (11:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Jun 2015 11:47:18 +0000 (11:47 +0000)
commit9cea2a7627e0ded88b46847caa771934902853fa
tree90b8669d1124d80c3b3e221f81dc31cb4fc5a99c
parent2dda7c675adf1ff59ae2d9b48a8da9dc41b70471
daemon: Don't wait until the worker thread has finished after sending shutdown signal

There is no need to wait for each worker thread individually.
Instead we send all worker threads the shutdown signal and
wait after that until they all have finished.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/collecty/daemon.py