Fix for GH-4, isResourceValid should check for PONG not OK
This commit is contained in:
@@ -51,6 +51,6 @@ public class JedisPool extends FixedResourcePool<Jedis> {
|
||||
|
||||
@Override
|
||||
protected boolean isResourceValid(Jedis jedis) {
|
||||
return jedis.ping().equals("OK");
|
||||
return jedis.ping().equals("PONG");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user