DaanHoogland commented on code in PR #6970:
URL: https://github.com/apache/cloudstack/pull/6970#discussion_r1293037082
##########
services/console-proxy/server/src/main/java/com/cloud/consoleproxy/ConsoleProxyNoVncClient.java:
##########
@@ -114,6 +114,11 @@ public void run() {
updateFrontEndActivityTime();
}
connectionAlive =
client.isVncOverWebSocketConnectionAlive();
+ try {
+ Thread.sleep(1);
+ } catch (Exception e) {
Review Comment:
```suggestion
} catch (InterruptedException e) {
```
##########
services/console-proxy/server/src/main/java/com/cloud/consoleproxy/ConsoleProxyNoVncClient.java:
##########
@@ -114,6 +114,11 @@ public void run() {
updateFrontEndActivityTime();
}
connectionAlive =
client.isVncOverWebSocketConnectionAlive();
+ try {
Review Comment:
a nested try should be in a separate method
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]