This repository was archived by the owner on Feb 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -164,18 +164,18 @@ protected MessageDigest initialValue() {
164164
165165 // initial, min and max pool sizes
166166 private int poolMultiplier = 3 ;
167- private int initConn = 1 ;
168- private int minConn = 1 ;
169- private int maxConn = 10 ;
167+ private int initConn = 10 ;
168+ private int minConn = 5 ;
169+ private int maxConn = 100 ;
170170 private long maxIdle = 1000 * 60 * 5 ; // max idle time for avail sockets
171171 private long maxBusyTime = 1000 * 30 ; // max idle time for avail sockets
172172 private long maintSleep = 1000 * 30 ; // maintenance thread sleep time
173- private int socketTO = 1000 * 30 ; // default timeout of socket reads
173+ private int socketTO = 1000 * 3 ; // default timeout of socket reads
174174 private int socketConnectTO = 1000 * 3 ; // default timeout of socket connections
175175 private boolean aliveCheck = false ; // default to not check each connection for being alive
176176 private boolean failover = true ; // default to failover in event of cache server dead
177177 private boolean failback = true ; // only used if failover is also set ... controls putting a dead server back into rotation
178- private boolean nagle = true ; // enable/disable Nagle's algorithm
178+ private boolean nagle = false ; // enable/disable Nagle's algorithm
179179 private int hashingAlg = NATIVE_HASH ; // default to using the native hash as it is the fastest
180180
181181 // locks
You can’t perform that action at this time.
0 commit comments