ilgrosso commented on a change in pull request #308:
URL: https://github.com/apache/syncope/pull/308#discussion_r799410934



##########
File path: 
client/console/src/main/java/org/apache/syncope/client/console/topology/TopologyWebSocketBehavior.java
##########
@@ -59,12 +59,12 @@ private static void timeoutHandlingConnectionChecker(
             final Map<String, String> responses,
             final Set<String> running) {
 
-        String response;
+        String response = null;
         try {
-            if (timeout == null || timeout <= 0) {
+            if (timeout == null) {
                 LOG.debug("No timeouts for resource connection checking ... ");
-                response = checker.call();
-            } else {
+                response = SyncopeConsoleSession.get().execute(checker).get();

Review comment:
       please revert this line




-- 
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: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to