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

more pool fixes #1211

Merged
merged 1 commit into from
May 18, 2021
Merged

more pool fixes #1211

merged 1 commit into from
May 18, 2021

Commits on May 6, 2021

  1. more pool fixes

    * a task that is marked woken but didn't actually wake before being cancelled will instead wake the next task in the queue
    
    * a task that wakes but doesn't get a connection will put itself back in the queue instead of waiting until it times out with no way to be woken
    
    * the idle reaper now won't run if there are tasks waiting for a connection, and also uses
    the proper `SharedPool::release()` to return validated connections to the pool so waiting tasks get woken
    
    closes #622, #1210
    
    (hopefully for good this time)
    
    Signed-off-by: Austin Bonander <austin@launchbadge.com>
    abonander committed May 6, 2021
    Configuration menu
    Copy the full SHA
    0847a04 View commit details
    Browse the repository at this point in the history