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

Prevent race in PersistableChannelUniqueQueue.Has (#14651) #14676

Merged
merged 2 commits into from
Feb 14, 2021

Commits on Feb 13, 2021

  1. Prevent race in PersistableChannelUniqueQueue.Has (go-gitea#14651)

    Backport go-gitea#14651
    
    There is potentially a race with a slow starting internal
    queue causing a NPE if Has is checked before the internal
    queue has been setup.
    
    This PR adds a lock on the Has() fn.
    
    Fix go-gitea#14311
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Feb 13, 2021
    Configuration menu
    Copy the full SHA
    58470a6 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2021

  1. Configuration menu
    Copy the full SHA
    cbb11ec View commit details
    Browse the repository at this point in the history