Skip to content

Commit

Permalink
[release-18.0] Tablet throttler: fix race condition by removing gorou…
Browse files Browse the repository at this point in the history
…tine call (#14179) (#14198)
  • Loading branch information
shlomi-noach authored Oct 11, 2023
1 parent 25d7ba4 commit dcc8a0a
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 @@ -682,7 +682,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 dcc8a0a

Please sign in to comment.