forked from Archives/Athou_commafeed
increase connections in redis pool
This commit is contained in:
@@ -29,7 +29,7 @@ public class RedisCacheService extends CacheService {
|
|||||||
|
|
||||||
public RedisCacheService() {
|
public RedisCacheService() {
|
||||||
JedisPoolConfig config = new JedisPoolConfig();
|
JedisPoolConfig config = new JedisPoolConfig();
|
||||||
config.setBlockWhenExhausted(false);
|
config.setMaxTotal(500);
|
||||||
pool = new JedisPool(config, "localhost");
|
pool = new JedisPool(config, "localhost");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user