]> git.ipfire.org Git - pakfire.git/commit
daemon: Fork new worker process when we receive a build job
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 May 2022 09:44:02 +0000 (09:44 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 May 2022 09:44:02 +0000 (09:44 +0000)
commit891fb70990bb4840c5cb7af02bf0b294c5802d21
tree68c2a45631a89719dcecc5da0729a1c8718d74ae
parent099aacb4719487bfd795d70b7c162ac7c9431a66
daemon: Fork new worker process when we receive a build job

The previous system was that the worker processes would have been
pre-forked and waiting for a job which was randomly allocated.

This model is now changing since we no longer poll, but push build jobs
from the hub to the builders.

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