出現錯誤 redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool

  寫代碼的時候出現 :redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool 開始以爲是大數據項目,分佈式環境pool會不同步,後面發現是jedis對象的問題,在初始化的過程中使用了static關鍵字,導致 只有一個jedis對象   在代碼使用的時候finally關閉 je
相關文章
相關標籤/搜索