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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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{}