Increased wait time for redis.

This commit is contained in:
Jonathan Williams 2015-07-09 11:07:00 -05:00
parent 7bf440f786
commit ecd8e3d7b0

View File

@ -132,7 +132,8 @@ public class Utility
public static JedisPool generatePool(ConnectionData connData)
{
JedisPoolConfig jedisPoolConfig = new JedisPoolConfig();
jedisPoolConfig.setMaxWaitMillis(10);
jedisPoolConfig.setMaxWaitMillis(1000);
jedisPoolConfig.setMinIdle(5);
return new JedisPool(jedisPoolConfig, connData.getHost(), connData.getPort());
}