From 38d7d7e4d66072179aacaca7eec99521401c7ea8 Mon Sep 17 00:00:00 2001 From: qct Date: Wed, 14 Mar 2018 06:26:19 +0000 Subject: [PATCH] remove heartbeat condition --- .../transport/dispatcher/execution/ExecutionChannelHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/transport/dispatcher/execution/ExecutionChannelHandler.java b/dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/transport/dispatcher/execution/ExecutionChannelHandler.java index 3447adf93842..82fb2fe209a9 100644 --- a/dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/transport/dispatcher/execution/ExecutionChannelHandler.java +++ b/dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/transport/dispatcher/execution/ExecutionChannelHandler.java @@ -36,7 +36,7 @@ public ExecutionChannelHandler(ChannelHandler handler, URL url) { } public void received(Channel channel, Object message) throws RemotingException { - if (message instanceof Request && !((Request) message).isHeartbeat()) { + if (message instanceof Request) { try { executor.execute(new ChannelEventRunnable(channel, handler, ChannelState.RECEIVED, message)); } catch (Throwable t) {