fc-queue-runner: plumb worker_count into fair-share scheduling
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I1f7f295bd7c2cbf46b64b22a3417ccc06a6a6964
This commit is contained in:
parent
4100ac54c2
commit
3716a34972
3 changed files with 232 additions and 22 deletions
|
|
@ -102,6 +102,10 @@ impl WorkerPool {
|
|||
.await;
|
||||
}
|
||||
|
||||
pub fn worker_count(&self) -> usize {
|
||||
self.worker_count
|
||||
}
|
||||
|
||||
pub fn active_builds(&self) -> &ActiveBuilds {
|
||||
&self.active_builds
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue