```
if ((lastRead != null && now() - lastRead > heartbeat)
|| (lastWrite != null && now() - lastWrite > heartbeat)) {
```
目前在忙通讯的时候确实没有发送心跳包。只是定时检查,不一定定时发送。
> 关闭 ChannelOption.SO_KEEPALIVE,网络层面的 TCP 断连需要在机器级别设置,默认是 2 小时
同意。但是优化空间不大,聊胜于无。
[ Full content available at:
https://github.com/apache/incubator-dubbo/issues/3151 ]
This message was relayed via gitbox.apache.org for
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]