Skip to content

Commit

Permalink
Update agent/src/main/java/com/cloud/agent/Agent.java
Browse files Browse the repository at this point in the history
Co-authored-by: Suresh Kumar Anaparti <[email protected]>
  • Loading branch information
weizhouapache and sureshanaparti authored Jun 25, 2024
1 parent 5124c05 commit 0bdc722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/src/main/java/com/cloud/agent/Agent.java
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ public void doTask(final Task task) throws TaskExecutionException {
}
} else if (task.getType() == Task.Type.DISCONNECT) {
try {
// an issue has been found if reconnect inmediatelly after disconnecting. please refer to https://github.com/apache/cloudstack/issues/8517
// an issue has been found if reconnect immediately after disconnecting. please refer to https://github.com/apache/cloudstack/issues/8517
// wait 5 seconds before reconnecting
Thread.sleep(5000);
} catch (InterruptedException e) {
Expand Down

0 comments on commit 0bdc722

Please sign in to comment.