I have seen answers in couple of threads but didn\'t work out for me and since my problem occurs occasionally, asking this question if any one has any idea.
I am usi
I moved from redis.template to plain jedis. Added below configuration(can be added in redis template too) for pool and don't see any exception now:
jedisPoolConfig.setMaxIdle(30);
jedisPoolConfig.setMinIdle(10);
for redis template:
jedisConnectionFactory.getPoolConfig().setMaxIdle(30);
jedisConnectionFactory.getPoolConfig().setMinIdle(10);
Same above config can be added in redis template too.