Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed BulkheadImpl.releasePermit to ensure that it claims a permit when running a task from the pending queue #366

Merged
merged 2 commits into from
Jun 24, 2023

Commits on Jun 24, 2023

  1. Changed BulkheadImpl.releasePermit to ensure that it claims a permit …

    …when running a task from the pending queue
    
    Before this change, releasePermit would check the queue but not modify the permit field. This could eventually
    result in permits being equal to maxPermits and would erroneously report the bulkhead as being full
    
    This should fix issue failsafe-lib#365
    Nick Merlo committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    fc074c8 View commit details
    Browse the repository at this point in the history
  2. Shorten sleepTime in testPermitAcquiredAfterWaitWithLargeQueue to mak…

    …e test run faster
    Nick Merlo committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    282e07e View commit details
    Browse the repository at this point in the history