This commit is contained in:
Andrew Jackson (Ajax) 2024-02-12 19:11:57 -06:00 committed by Łukasz Magiera
parent da92001c71
commit ccf81ecee5

View File

@ -346,6 +346,7 @@ func (e *TaskEngine) pollerTryAllWork() bool {
}
// if no work was accepted, are we bored? Then find work in priority order.
for _, v := range e.handlers {
v := v
if v.AssertMachineHasCapacity() != nil {
continue
}