Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed May 14, 2024
1 parent a9eef12 commit 09cc309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ratelimit/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func (cr *ConcurrentRunner) RunTask(ctx context.Context, name string, f func(con
for _, opt := range opts {
opt(task)
}

cr.processPendingTasks()
cr.pendingMu.Lock()
defer func() {
cr.pendingMu.Unlock()
Expand Down

0 comments on commit 09cc309

Please sign in to comment.