zhangdianpeng
Results
3
comments of
zhangdianpeng
我看了下,和 https://github.com/luin/ioredis/issues/139 这个 issue 比较像,看起来是 node 本身不支持 tcp_keepalive_intvl 和 tcp_keepalive_probes 两个参数的配置,所以 ioredis 也没办法支持。因此连接断开基本需要消耗 75* 9 = 11 min。 看来只能通过在客户端侧添加心跳主动去断开连接来实现了,晚点试下看看,多谢大神。