You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by GitBox <gi...@apache.org> on 2020/03/10 08:38:33 UTC

[GitHub] [curator] TisonKun commented on a change in pull request #348: CURATOR-562 Remove ConnectionHandlingPolicy

TisonKun commented on a change in pull request #348: CURATOR-562 Remove ConnectionHandlingPolicy
URL: https://github.com/apache/curator/pull/348#discussion_r390159535
 
 

 ##########
 File path: curator-client/src/main/java/org/apache/curator/ConnectionState.java
 ##########
 @@ -218,7 +216,7 @@ public String call()
         };
         int lastNegotiatedSessionTimeoutMs = getLastNegotiatedSessionTimeoutMs();
         int useSessionTimeoutMs = (lastNegotiatedSessionTimeoutMs > 0) ? lastNegotiatedSessionTimeoutMs : sessionTimeoutMs;
-        ConnectionHandlingPolicy.CheckTimeoutsResult result = connectionHandlingPolicy.checkTimeouts(hasNewConnectionString, connectionStartMs, useSessionTimeoutMs, connectionTimeoutMs);
+        CheckTimeoutsResult result = checkTimeouts(hasNewConnectionString, connectionStartMs, useSessionTimeoutMs, connectionTimeoutMs);
 
 Review comment:
   Yes. I mentioned it in the JIRA and commit message.
   
   >Besides, some values in CheckTimeoutsResult seems out of day that we might have a follow-up to handle it.
   
   I'd prefer do it in another cycle so that I have cycle to understand the impact by removing it :-)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services