builder.supported_arches,
)
- async def dispatch_jobs(self):
+ async def dispatch(self):
"""
Will be called regularly and will dispatch any pending jobs to any
available builders
self._set_attribute("aborted_by", user)
# Dispatch more jobs
- await self.backend.jobs.queue.dispatch_jobs()
+ await self.backend.jobs.queue.dispatch()
def is_aborted(self):
"""
self.current_user.connected(self)
# After the builder has connected, try to dispatch some jobs
- await self.backend.jobs.queue.dispatch_jobs()
+ await self.backend.jobs.queue.dispatch()
def on_ping(self, data):
log.debug("%s has pinged us" % self.builder)
await self.backend.jobs.depcheck(build.jobs)
# Try to dispatch jobs
- await self.backend.jobs.queue.dispatch_jobs()
+ await self.backend.jobs.queue.dispatch()
class IndexHandler(base.BaseHandler):
await self.job.finished(success=success, logfile=logfile, packages=packages)
# Try to dispatch the next job
- await self.backend.jobs.queue.dispatch_jobs()
+ await self.backend.jobs.queue.dispatch()
class APIv1LogStreamHandler(base.BackendMixin, tornado.websocket.WebSocketHandler):