File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
agent/src/main/java/com/cloud/agent Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1231,10 +1231,11 @@ public void doTask(final Task task) throws TaskExecutionException {
12311231 try {
12321232 // an issue has been found if reconnect immediately after disconnecting. please refer to https://github.com/apache/cloudstack/issues/8517
12331233 // wait 5 seconds before reconnecting
1234+ logger .debug ("Wait for 5 secs before reconnecting, disconnect task - {}" , () -> getLinkLog (task .getLink ()));
12341235 Thread .sleep (5000 );
12351236 } catch (InterruptedException e ) {
12361237 }
1237- logger .debug ("Executing disconnect task - {}" , () -> getLinkLog (task .getLink ()));
1238+ logger .debug ("Executing disconnect task - {} and reconnecting " , () -> getLinkLog (task .getLink ()));
12381239 reconnect (task .getLink ());
12391240 } else if (task .getType () == Task .Type .OTHER ) {
12401241 processOtherTask (task );
You can’t perform that action at this time.
0 commit comments