1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 18:24:27 +00:00
Giteabot 86cd94cba6
Fix queue worker incorrectly stopped when there are still more items in the queue (#29532) (#29546)
Backport #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.
2024-03-02 19:40:06 +00:00
..
2023-05-08 19:49:59 +08:00
2023-05-08 19:49:59 +08:00
2023-05-08 19:49:59 +08:00
2023-05-08 19:49:59 +08:00
2023-05-08 19:49:59 +08:00
2023-05-08 19:49:59 +08:00
2023-05-08 19:49:59 +08:00