]> git.ipfire.org Git - pbs.git/commit
builders: Simplify the queue estimation
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 6 Feb 2025 16:41:09 +0000 (16:41 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 6 Feb 2025 16:41:09 +0000 (16:41 +0000)
commit31c6d8eb2a03c3d21610bae91f0b554e2fe3dd6d
treea49ac921ca3af47276c4654534801c7e02df4ab2
parent1a5df3e2abb4530ff6d607c4c96ff3ad2190bf97
builders: Simplify the queue estimation

It is not a very exact science anyways to try to guess how long a job
will take, so we are now just counting them which should save a couple
of complex database queries when running this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/buildservice/builders.py
src/buildservice/jobs.py