Skip to content

Commit

Permalink
ignore unused wrangler weighted semaphore
Browse files Browse the repository at this point in the history
  • Loading branch information
makinje16 committed Aug 29, 2024
1 parent 8f78ade commit 2e80efb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/vt/wrangler/wrangler.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"context"

"golang.org/x/sync/semaphore"

"vitess.io/vitess/go/sqltypes"
"vitess.io/vitess/go/vt/logutil"
"vitess.io/vitess/go/vt/topo"
Expand Down Expand Up @@ -55,6 +56,7 @@ type Wrangler struct {
// DO NOT USE in production code.
VExecFunc func(ctx context.Context, workflow, keyspace, query string, dryRun bool) (map[*topo.TabletInfo]*sqltypes.Result, error)
// Limt the number of concurrent background goroutines if needed.
// nolint:ignore U1000
sem *semaphore.Weighted
}

Expand Down

0 comments on commit 2e80efb

Please sign in to comment.