You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by GitBox <gi...@apache.org> on 2022/02/04 12:09:53 UTC

[GitHub] [syncope] ilgrosso commented on a change in pull request #308: fix connector/resource connection check

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-unsubscribe@syncope.apache.org

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