Skip to content

Commit

Permalink
Restore the old hardcoded default value for binaries w/o the flag
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Jan 29, 2024
1 parent 99a7f86 commit 484c7dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/topo/keyspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ import (
// This file contains keyspace utility functions.

// Default concurrency to use in order to avoid overhwelming the topo server.
var DefaultConcurrency int
var DefaultConcurrency = 32

func registerFlags(fs *pflag.FlagSet) {
fs.IntVar(&DefaultConcurrency, "topo_read_concurrency", 32, "Concurrency of topo reads.")
fs.IntVar(&DefaultConcurrency, "topo_read_concurrency", DefaultConcurrency, "Concurrency of topo reads.")

Check warning on line 47 in go/vt/topo/keyspace.go

View check run for this annotation

Codecov / codecov/patch

go/vt/topo/keyspace.go#L46-L47

Added lines #L46 - L47 were not covered by tests
}

func init() {
Expand Down

0 comments on commit 484c7dc

Please sign in to comment.