1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 22:17:20 +00:00

Fix queue test (#30646) (#30650)

Backport #30553 and #30646
This commit is contained in:
wxiaoguang
2024-04-23 16:30:32 +08:00
committed by GitHub
parent d95408bd5d
commit 32f895f2d7
4 changed files with 43 additions and 19 deletions

View File

@ -40,8 +40,6 @@ type WorkerPoolQueue[T any] struct {
workerMaxNum int
workerActiveNum int
workerNumMu sync.Mutex
workerStartedCounter int32
}
type flushType chan struct{}