PHP Notice: Redis::set(): send of 36 bytes failed with errno=32 Broken pipe in

2018-11-06

发现phpredis 如果已经链接,但是底层链接异常的情况下,所有命令都会执行失败,只返回false,不会抛出异常。

如果想修复需要每次执行都ping一下,这样会降低qps

还在和官方沟通。