解决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' 提
相关文章
相关标签/搜索