Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: bufferflies <[email protected]>
  • Loading branch information
bufferflies committed Jan 16, 2024
1 parent 2b9969c commit 038d798
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/client/client_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,11 +414,8 @@ func (a *batchConn) getClientAndSend() {
if atomic.LoadUint32(&a.isBusy) == 0 {
break
}
select {
case <-time.After(time.Millisecond * 10):
}
time.Sleep(time.Millisecond * 10)
}

}
return
}
Expand Down

0 comments on commit 038d798

Please sign in to comment.