We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
A connection in pool can be reseted by redis due a timeout, then, when you get the connection it is an unhealthy one.
In order to assure that every time you get a connection from the pool it is an healthy one, you must configure the pool with testOnBorrow = true.
Config config = new Config(); config.testOnBorrow = true; JedisPool jedisPool = new JedisPool(config, "localhost"); JOhm.setPool(jedisPool);