set "disable-thp" config immutable (#10409)
It's confusing for this config to be modifiable since it only takes effect on startup
This commit is contained in:
parent
4e012daee9
commit
a26cab9dd6
@ -2795,7 +2795,7 @@ standardConfig static_configs[] = {
|
||||
createBoolConfig("crash-log-enabled", NULL, MODIFIABLE_CONFIG, server.crashlog_enabled, 1, NULL, updateSighandlerEnabled),
|
||||
createBoolConfig("crash-memcheck-enabled", NULL, MODIFIABLE_CONFIG, server.memcheck_enabled, 1, NULL, NULL),
|
||||
createBoolConfig("use-exit-on-panic", NULL, MODIFIABLE_CONFIG | HIDDEN_CONFIG, server.use_exit_on_panic, 0, NULL, NULL),
|
||||
createBoolConfig("disable-thp", NULL, MODIFIABLE_CONFIG, server.disable_thp, 1, NULL, NULL),
|
||||
createBoolConfig("disable-thp", NULL, IMMUTABLE_CONFIG, server.disable_thp, 1, NULL, NULL),
|
||||
createBoolConfig("cluster-allow-replica-migration", NULL, MODIFIABLE_CONFIG, server.cluster_allow_replica_migration, 1, NULL, NULL),
|
||||
createBoolConfig("replica-announced", NULL, MODIFIABLE_CONFIG, server.replica_announced, 1, NULL, NULL),
|
||||
createBoolConfig("latency-tracking", NULL, MODIFIABLE_CONFIG, server.latency_tracking_enabled, 1, NULL, NULL),
|
||||
|
@ -184,6 +184,7 @@ start_server {tags {"introspection"}} {
|
||||
always-show-logo
|
||||
syslog-enabled
|
||||
cluster-enabled
|
||||
disable-thp
|
||||
aclfile
|
||||
unixsocket
|
||||
pidfile
|
||||
|
Loading…
x
Reference in New Issue
Block a user