mirror of
https://github.com/qiurunze123/miaosha.git
synced 2023-11-19 22:41:03 +08:00
config redis
This commit is contained in:
parent
a1c90d0446
commit
ea9fe43937
|
@ -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(), 0);
|
||||
redisConfig.getTimeout()*1000, redisConfig.getPassword(), 8);
|
||||
return jp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user