關於jedis異常:Could not get a resource from the pool

今天在運行程序的時候報了一個異常,大多是異常都是Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool。
且redis.maxIdle=30
redis.minIdle=10
redis.maxTotal=100都沒有問題,所以可以看出有可能是redis/jedis的問題。
這一般情況下是新手容易出現的問題
我的解決方法:打開redis-server.exe運行就好

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章