Skip to content

[Question] Is it intentional for the HalfOpenState to allow more calls than permitted? #391

@ganesh-k-7817

Description

@ganesh-k-7817

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions