carryxyh commented on a change in pull request #2445: [Dubbo-2328]Fix the
concurrency limit of 'ActiveLimitFilter' to calculate atomicity
URL: https://github.com/apache/incubator-dubbo/pull/2445#discussion_r221193806
##########
File path:
dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ActiveLimitFilter.java
##########
@@ -76,8 +76,8 @@ public Result invoke(Invoker<?> invoker, Invocation
invocation) throws RpcExcept
}
} finally {
if (max > 0) {
- synchronized (count) {
- count.notify();
+ if(acquireResult){
Review comment:
format
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services