Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <[email protected]>
  • Loading branch information
nolouch committed Apr 9, 2024
1 parent 871c212 commit 5f1c9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ratelimit/concurrency_limiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (l *ConcurrencyLimiter) setLimit(limit uint64) {
l.limit = limit
}

// old interface. only used in the ratelimiter package.
// GetRunningTasksNum returns the number of running tasks.
func (l *ConcurrencyLimiter) GetRunningTasksNum() uint64 {
l.mu.Lock()
defer l.mu.Unlock()
Expand Down

0 comments on commit 5f1c9bb

Please sign in to comment.