集群设置中增加“自动调节系统参数”选项

This commit is contained in:
刘祥超
2023-10-08 16:01:21 +08:00
parent 2b8191001b
commit 96ce664202
6 changed files with 854 additions and 815 deletions

View File

@@ -87,6 +87,7 @@ type NodeConfig struct {
AutoOpenPorts bool `yaml:"autoOpenPorts" json:"autoOpenPorts"` // 自动开放所需端口
Clock *ClockConfig `yaml:"clock" json:"clock"` // 时钟配置
AutoInstallNftables bool `yaml:"autoInstallNftables" json:"autoInstallNftables"` // 自动安装nftables
AutoSystemTuning bool `yaml:"autoSystemTuning" json:"autoSystemTuning"` // 自动调整系统参数
// 指标
MetricItems []*serverconfigs.MetricItemConfig `yaml:"metricItems" json:"metricItems"`