提交 b39031a7 编写于 作者: Z zhanguohuang 提交者: von gosling

[ISSUE #1082] Fix disconnection of HA (#1083)

上级 ae9228dc
......@@ -374,6 +374,7 @@ public class HAService {
}
}
lastWriteTimestamp = HAService.this.defaultMessageStore.getSystemClock().now();
return !this.reportOffset.hasRemaining();
}
......@@ -406,7 +407,6 @@ public class HAService {
try {
int readSize = this.socketChannel.read(this.byteBufferRead);
if (readSize > 0) {
lastWriteTimestamp = HAService.this.defaultMessageStore.getSystemClock().now();
readSizeZeroTimes = 0;
boolean result = this.dispatchReadRequest();
if (!result) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册