Jedis hget连接好久没有反应
原因: 使用JedisPool获取资源, 使用后, 不关闭资源, 就有可能卡在那. 也没有报超时异常.
JedisPool pool = getJedisPool();
if (pool != null) return pool.getResource();
Jedis hget连接好久没有反应
原因: 使用JedisPool获取资源, 使用后, 不关闭资源, 就有可能卡在那. 也没有报超时异常.
JedisPool pool = getJedisPool();
if (pool != null) return pool.getResource();