Skip to content

Commit

Permalink
Fix stale comment on the mutex based rate-limiter (#115)
Browse files Browse the repository at this point in the history
Fixes #105
  • Loading branch information
rabbbit committed Jul 9, 2023
1 parent 76fa6b7 commit 60908a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion limiter_mutexbased.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type mutexLimiter struct {
clock Clock
}

// newMutexBased returns a new atomic based limiter.
// newMutexBased returns a new mutex based limiter.
func newMutexBased(rate int, opts ...Option) *mutexLimiter {
// TODO consider moving config building to the implementation
// independent code.
Expand Down

0 comments on commit 60908a3

Please sign in to comment.