Skip to content

Commit

Permalink
Update NettyRemotingAbstract.java
Browse files Browse the repository at this point in the history
// fix an code error .
  • Loading branch information
lyl625760 authored Dec 6, 2016
1 parent 4cc93bd commit 8d8e0c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@ public void operationComplete(ChannelFuture f) throws Exception {
String info = String.format(
"invokeOnewayImpl tryAcquire semaphore timeout, %dms, waiting thread nums: %d semaphoreAsyncValue: %d", //
timeoutMillis, //
this.semaphoreAsync.getQueueLength(), //
this.semaphoreAsync.availablePermits()//
this.semaphoreOneway.getQueueLength(), //
this.semaphoreOneway.availablePermits()//
);
plog.warn(info);
throw new RemotingTimeoutException(info);
Expand Down

0 comments on commit 8d8e0c3

Please sign in to comment.