Skip to content

Commit

Permalink
GH-217: Throttled callbacks are started in separate go routine.
Browse files Browse the repository at this point in the history
  • Loading branch information
jirenius committed Oct 21, 2021
1 parent 5711fd7 commit 66ff726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/rescache/throttle.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ func (t *Throttle) Done() {
cb := t.queue[0]
t.queue = t.queue[1:]
t.mu.Unlock()
cb()
go cb()
}

0 comments on commit 66ff726

Please sign in to comment.