Skip to content

Commit a08c0d9

Browse files
rohityadavcloudshwstppr
authored andcommitted
agent: increase timeout for host arch retrieval (apache#11254) (apache#11822)
Cherry-picked from 44f8064 Signed-off-by: Abhishek Kumar <[email protected]> Co-authored-by: Abhishek Kumar <[email protected]>
1 parent 24d9dd4 commit a08c0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/src/main/java/com/cloud/agent/Agent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ protected void setupStartupCommand(final StartupCommand startup) {
613613
}
614614

615615
protected String getAgentArch() {
616-
String arch = Script.runSimpleBashScript(Script.getExecutableAbsolutePath("arch"), 1000);
616+
String arch = Script.runSimpleBashScript(Script.getExecutableAbsolutePath("arch"), 2000);
617617
logger.debug("Arch for agent: {} found: {}", _name, arch);
618618
return arch;
619619
}

0 commit comments

Comments
 (0)