aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-03-03 00:07:54 +0800
committerGitHub <noreply@github.com>2024-03-02 16:07:54 +0000
commit6465f94a2d26cdacc232fddc20f98d98df61ddac (patch)
tree13ef5246ba51d6906cf9d902c22b05b8cd1e4a9b /services
parenta3f05d0d98408bb47333b19f505b21afcefa9e7c (diff)
downloadgitea-6465f94a2d26cdacc232fddc20f98d98df61ddac.tar.gz
gitea-6465f94a2d26cdacc232fddc20f98d98df61ddac.zip
Fix queue worker incorrectly stopped when there are still more items in the queue (#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.
Diffstat (limited to 'services')
0 files changed, 0 insertions, 0 deletions