Fix machine selection
This commit is contained in:
parent
a0c4120232
commit
a0eff6fc15
1 changed files with 2 additions and 2 deletions
|
@ -887,9 +887,9 @@ void State::dispatcher()
|
||||||
float ta = roundf(a->currentJobs / a->speedFactor);
|
float ta = roundf(a->currentJobs / a->speedFactor);
|
||||||
float tb = roundf(b->currentJobs / b->speedFactor);
|
float tb = roundf(b->currentJobs / b->speedFactor);
|
||||||
return
|
return
|
||||||
ta != tb ? ta > tb :
|
ta != tb ? ta < tb :
|
||||||
a->speedFactor != b->speedFactor ? a->speedFactor > b->speedFactor :
|
a->speedFactor != b->speedFactor ? a->speedFactor > b->speedFactor :
|
||||||
a->maxJobs > b->maxJobs;
|
a->currentJobs > b->currentJobs;
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Find a machine with a free slot and find a step to run
|
/* Find a machine with a free slot and find a step to run
|
||||||
|
|
Loading…
Reference in a new issue