Skip to content

Commit

Permalink
Tablet throttler: fix race condition by removing goroutine call (vite…
Browse files Browse the repository at this point in the history
…ssio#14179)

Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach committed Oct 6, 2023
1 parent 4217b71 commit 7149c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletserver/throttle/throttler.go
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ func (throttler *Throttler) Operate(ctx context.Context) {
{
// sparse
if throttler.IsOpen() {
go throttler.refreshMySQLInventory(ctx)
throttler.refreshMySQLInventory(ctx)
}
}
case probes := <-throttler.mysqlClusterProbesChan:
Expand Down

0 comments on commit 7149c45

Please sign in to comment.