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

Fix race condition in the thread tracking set #3398

Merged
merged 1 commit into from
Sep 29, 2021
Merged

Commits on Sep 29, 2021

  1. Fix race condition in the thread tracking set

    It was possible for threads to get "removed" before spawnOne had added
    the threads. This caused those threads to never get removed which would
    trigger ratelimiting and eventually the node would refuse to accept new
    connections.
    
    Change it so that if the thread isn't inserted yet we will wait for
    spawnOne to do it before we remove the thread.
    
    Thanks to @psychomb for helping troubleshoot this problem..
    karknu committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    d82585c View commit details
    Browse the repository at this point in the history