Skip to content

Commit

Permalink
config redis
Browse files Browse the repository at this point in the history
  • Loading branch information
liudaze committed Dec 5, 2018
1 parent a1c90d0 commit ea9fe43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public JedisPool JedisPoolFactory() {
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;
}

Expand Down

0 comments on commit ea9fe43

Please sign in to comment.