#2978 Don't take new tasks if we've 0.0 capacity available
Merged 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji capacity_race  into  master

No commits found

If I've just started buildArch task with weight 1.5 on builder with 1.5
capacity, it can pick another one, as it is not over the builder's
capacity. This is wrong as there is no real capacity behind.

With float values like this, the difference between > and >= is not that reliable, but to the extend that this seems to work better in practice, sure. Looks fine.

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

2 years ago

Metadata Update from @tkopecek:
- Pull-request untagged with: testing-ready
- Pull-request tagged with: no_qe

2 years ago

Commit 5e9ca93 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago

As a side-effect it delays taking first task in some cases. Reverted for now.

Metadata