redis報錯: redis.exceptions.ResponseError: value is not an integer or out of range

問題描述 今天在使用python的redis客戶端時碰到了這樣的報錯:redis.exceptions.ResponseError: value is not an integer or out of range,是在使用setex函數時出的問題。   問題分析 明明在我的開發環境上跑的好好着,怎麼到測試環境就有問題了?然後試着看了下我的開發環境和測試環境的redis客戶端版本,一個是2.x,一個
相關文章
相關標籤/搜索