fix linter for logs benchmark

Signed-off-by: Artem Navoiev <tenmozes@gmail.com>
This commit is contained in:
Artem Navoiev 2023-06-21 15:54:25 +02:00
parent bf081d157e
commit 039dff9f50

View file

@ -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{}{}
}
}
}()