Skip to content

Commit f4ec900

Browse files
committed
Fix
1 parent 0b31ca0 commit f4ec900

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ private Pair<Integer, Integer> retrieveAgentConnectPoolCoreSizeAndMaxSize() {
444444
return new Pair<>(AGENT_CONNECT_CORE_POOL_SIZE, AGENT_CONNECT_MAX_POOL_SIZE);
445445

446446
}
447-
if (agentConnectMaxSize > agentConnectCorePoolSize) {
448-
logger.warn("Max agent connect pool size {} is greater than core pool size {}. " +
447+
if (agentConnectMaxSize < agentConnectCorePoolSize) {
448+
logger.warn("Max agent connect pool size {} is lower than core pool size {}. " +
449449
"Defaulting to core pool size {} and max pool size {}", agentConnectMaxSize, agentConnectCorePoolSize, AGENT_CONNECT_CORE_POOL_SIZE, AGENT_CONNECT_MAX_POOL_SIZE);
450450
return new Pair<>(AGENT_CONNECT_CORE_POOL_SIZE, AGENT_CONNECT_MAX_POOL_SIZE);
451451
}

0 commit comments

Comments
 (0)