Github user Randgalt commented on the issue:

    https://github.com/apache/curator/pull/262
  
    I'm thinking we change `StandardConnectionHandlingPolicy`. It should be 33 
though right? By the time we get the Disconnected 2/3 of a session have 
elapsed. 
    
    However, this could affect existing clients badly. So, probably the best 
thing is to make the value configurable via command line with the default being 
33. So, something like:
    
    ```
    public class StandardConnectionHandlingPolicy implements 
ConnectionHandlingPolicy 
    {
        private static final int default_expiration_percent = 
Integer.getInteger("curator-connection-expiration-percent", 33);
    
        private final int expirationPercent;
    
        public StandardConnectionHandlingPolicy()
        {
            this(default_expiration_percent);
        }
    }
    ```


---

Reply via email to