Skip to content

Commit 32ce1c2

Browse files
author
Glover, Rene (rg9975)
committed
fixes for agent.send peer disconnect issues during command execution
1 parent 2d05bd9 commit 32ce1c2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ public class AgentManagerImpl extends ManagerBase implements AgentManager, Handl
239239
protected final ConfigKey<Integer> RemoteAgentNewConnectionsMonitorInterval = new ConfigKey<>("Advanced", Integer.class, "agent.connections.monitor.interval", "1800",
240240
"Time in seconds to monitor the new agent connections and cleanup the expired connections.", false);
241241

242-
protected final ConfigKey<Integer> PeerLookupRetryCount = new ConfigKey<>(Integer.class,
243-
"cluster.agent.peer.lookup.retry.count", "Advanced", "1",
242+
protected final ConfigKey<Integer> PeerLookupRetryCount = new ConfigKey<>("Advanced", Integer.class,
243+
"agent.peer.lookup.retry.count", "1",
244244
"Number of retries (in addition to the initial attempt) to resolve the peer management server for a host when forwarding agent commands in a management server cluster.", true);
245245

246-
protected final ConfigKey<Integer> PeerLookupRetryIntervalMs = new ConfigKey<>(Integer.class,
247-
"cluster.agent.peer.lookup.retry.interval.ms", "Advanced", "200",
246+
protected final ConfigKey<Integer> PeerLookupRetryIntervalMs = new ConfigKey<>("Advanced", Integer.class,
247+
"agent.peer.lookup.retry.interval.ms", "200",
248248
"Sleep interval in milliseconds between peer lookup retries when forwarding agent commands in a management server cluster.", true);
249249
protected final ConfigKey<Integer> AlertWait = new ConfigKey<>("Advanced", Integer.class, "alert.wait", "1800",
250250
"Seconds to wait before alerting on a disconnected agent", true);

0 commit comments

Comments
 (0)