From: Michael Tremer Date: Wed, 26 Apr 2023 14:28:42 +0000 (+0000) Subject: jobs: Try to dispatch more jobs after abort X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9f132f193edb590b5fa2d3efd805847608f96bf;p=pbs.git jobs: Try to dispatch more jobs after abort Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/jobs.py b/src/buildservice/jobs.py index 8c47f083..7d1fa09e 100644 --- a/src/buildservice/jobs.py +++ b/src/buildservice/jobs.py @@ -353,6 +353,9 @@ class Job(base.DataObject): if user: self._set_attribute("aborted_by", user) + # Dispatch more jobs + await self.backend.jobqueue.dispatch_jobs() + def is_aborted(self): """ Returns True if this job has been aborted