Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: add a check to reject changing some config items during runtime #14830

Merged
merged 11 commits into from
Feb 20, 2020
Prev Previous commit
Next Next commit
add comments
  • Loading branch information
qw4990 committed Feb 18, 2020
commit 46a1fa2947a3b28e1ced8f0374d0482f35dad764
1 change: 1 addition & 0 deletions config/config_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func CloneConf(conf *Config) (*Config, error) {
}

var (
// dynamicConfigItems contains all config items that can be changed during runtime.
dynamicConfigItems = []string{
"Performance.MaxProcs", "Performance.MaxMemory",
"Performance.CrossJoin", "Performance.FeedbackProbability",
Expand Down