Skip to content

Commit

Permalink
解决remoting层 报超时的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
owen lu committed Apr 8, 2015
1 parent 6de88b8 commit 2e3397e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ public void processResponseCommand(ChannelHandlerContext ctx, RemotingCommand cm
final ResponseFuture responseFuture = responseTable.get(cmd.getOpaque());
if (responseFuture != null) {
responseFuture.setResponseCommand(cmd);

responseFuture.release();
responseTable.remove(cmd.getOpaque());

if (responseFuture.getInvokeCallback() != null) {
boolean runInThisThread = false;
Expand Down Expand Up @@ -295,7 +295,6 @@ public void run() {
plog.warn(cmd.toString());
}

responseTable.remove(cmd.getOpaque());
}


Expand Down

0 comments on commit 2e3397e

Please sign in to comment.