Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Apr 16, 2024
1 parent a5ff5fc commit 77dad73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (limiter *Limiter) run(ctx context.Context) {
func (limiter *Limiter) Take() {
switch limiter.strategy {
case LeakyBucket:
limiter.leakyBucketLimiter.Wait(context.TODO())
_ = limiter.leakyBucketLimiter.Wait(context.TODO())
default:
<-limiter.tokens
}
Expand Down

0 comments on commit 77dad73

Please sign in to comment.