解決phpredis 'RedisException' with message 'read error on connection'

最近一個後臺常駐job經過redis的brpop阻塞讀取消息時,設置的超時時間較長php list($key,$row)=$redis->brPop($queue_name,3600); //超時時間爲1小時 可是在實際的使用中發現很短期後就會退出,經過查看error log,發現:'RedisException' with message 'read error on connection' 提
相關文章
相關標籤/搜索