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 queue worker incorrectly stopped when there are still more items in the queue (#29532) #29546

Merged
merged 2 commits into from
Mar 2, 2024

Commits on Mar 2, 2024

  1. Fix queue worker incorrectly stopped when there are still more items …

    …in the queue (go-gitea#29532)
    
    Without `case <-t.C`, the workers would stop incorrectly, the test won't
    pass. For the worse case, there might be only one running worker
    processing the queue items for long time because other workers are
    stopped. The root cause is related to the logic of doDispatchBatchToWorker.
    It isn't a serious problem at the moment, so keep it as-is.
    wxiaoguang authored and GiteaBot committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    980ce1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0814f70 View commit details
    Browse the repository at this point in the history