fix tow script run on one agent
This commit is contained in:
parent
5a928f1108
commit
6831f0ab93
|
@ -272,7 +272,8 @@ public class HighAvailablePoolImpl extends CurrentLoadSubject implements
|
|||
if (allocationFinish(load)) {
|
||||
break;
|
||||
}
|
||||
if (this.queryAgentStatus(agent) == null || agent.isInUse()) {
|
||||
if (this.queryAgentStatus(agent) == null || agent.isInUse()
|
||||
|| agent.getRemainLoad() != agent.getMaxLoad()) {
|
||||
continue;
|
||||
}
|
||||
loadForRunCurrent = getMin(load, agent.getRemainLoad());
|
||||
|
|
Loading…
Reference in New Issue