clean ThreadLocal

This commit is contained in:
jay1991115@126.com 2018-12-14 18:33:13 +08:00
parent 09f2d222bf
commit cab4bcdbef

View File

@ -20,7 +20,7 @@ public class RedisPoolFactory {
poolConfig.setMaxTotal(redisConfig.getPoolMaxTotal());
poolConfig.setMaxWaitMillis(redisConfig.getPoolMaxWait() * 1000);
JedisPool jp = new JedisPool(poolConfig, redisConfig.getHost(), redisConfig.getPort(),
redisConfig.getTimeout()*1000, redisConfig.getPassword(), 8);
redisConfig.getTimeout()*1000, redisConfig.getPassword(), 0);
return jp;
}