Skip to content

Commit

Permalink
Merge pull request #432 from lyl625760/master
Browse files Browse the repository at this point in the history
Fix semphore usage in oneway invokoing
  • Loading branch information
vongosling authored Dec 13, 2016
2 parents 4cc93bd + 8d8e0c3 commit 860e55e
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 860e55e

Please sign in to comment.