diff --git a/deployment/logs-benchmark/generator/main.go b/deployment/logs-benchmark/generator/main.go index 44401c74bc..25f778d143 100644 --- a/deployment/logs-benchmark/generator/main.go +++ b/deployment/logs-benchmark/generator/main.go @@ -49,11 +49,9 @@ func main() { limitter := make(chan struct{}, limitItems) go func() { for { - select { - case <-limitTicker.C: - for i := 0; i < limitItems; i++ { - limitter <- struct{}{} - } + <-limitTicker.C + for i := 0; i < limitItems; i++ { + limitter <- struct{}{} } } }()