Commit 14856db7 by Jason Song

adjust client side default timeout

parent 1fe24756
...@@ -25,8 +25,8 @@ public class ConfigUtil { ...@@ -25,8 +25,8 @@ public class ConfigUtil {
private static final Logger logger = LoggerFactory.getLogger(ConfigUtil.class); private static final Logger logger = LoggerFactory.getLogger(ConfigUtil.class);
private int refreshInterval = 5; private int refreshInterval = 5;
private TimeUnit refreshIntervalTimeUnit = TimeUnit.MINUTES; private TimeUnit refreshIntervalTimeUnit = TimeUnit.MINUTES;
private int connectTimeout = 5000; //5 seconds private int connectTimeout = 1000; //1 second
private int readTimeout = 10000; //10 seconds private int readTimeout = 5000; //5 seconds
private String cluster; private String cluster;
private int loadConfigQPS = 2; //2 times per second private int loadConfigQPS = 2; //2 times per second
private int longPollQPS = 2; //2 times per second private int longPollQPS = 2; //2 times per second
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment