|
@Override |
|
public void releasePermit() { |
|
permittedExecutions.incrementAndGet(); |
|
} |
The allowed number is maintained in permittedExecutions, and we increment this value in releasePermit. As a result, it may allow more calls than intended when permits are released in HalfOpenState. Is this intentional?
@jhalterman