Skip to content

Commit

Permalink
remove heartbeat condition
Browse files Browse the repository at this point in the history
  • Loading branch information
qct committed Mar 14, 2018
1 parent de59039 commit 38d7d7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 38d7d7e

Please sign in to comment.