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

Start fewer threads in TaskRunner #8391

Merged
merged 1 commit into from
Apr 29, 2024

Commits on Apr 28, 2024

  1. Start fewer threads in TaskRunner

    We've got a race where we'll start a thread when we need
    one, even if we've already started a thread. This changes
    TaskRunner's behavior to never add a thread if we're
    still waiting for a recently-added one to start running.
    
    This is intended to reduce the number of threads contenting
    for the TaskRunner lock as reported in this issue:
    
    #8388
    swankjesse committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    20b0786 View commit details
    Browse the repository at this point in the history