mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Modernize lib/auth and lib/utils (#55976)
This commit is contained in:
@@ -172,7 +172,7 @@ func (q *Queue[I, O]) run(workfn func(I) O, cfg config) {
|
||||
sem := make(chan struct{}, cfg.capacity)
|
||||
|
||||
// spawn workers
|
||||
for i := 0; i < cfg.workers; i++ {
|
||||
for range cfg.workers {
|
||||
go func() {
|
||||
for {
|
||||
var itm item[I]
|
||||
|
||||
Reference in New Issue
Block a user