diff --git a/internal/web/actions/default/clusters/cluster/settings/index.go b/internal/web/actions/default/clusters/cluster/settings/index.go index a95b36b8..01acf28e 100644 --- a/internal/web/actions/default/clusters/cluster/settings/index.go +++ b/internal/web/actions/default/clusters/cluster/settings/index.go @@ -112,6 +112,7 @@ func (this *IndexAction) RunGet(params struct { "clock": clockConfig, "autoRemoteStart": cluster.AutoRemoteStart, "autoInstallNftables": cluster.AutoInstallNftables, + "autoSystemTuning": cluster.AutoSystemTuning, "sshParams": sshParams, "domainName": fullDomainName, } @@ -139,6 +140,7 @@ func (this *IndexAction) RunPost(params struct { ClockCheckChrony bool AutoRemoteStart bool AutoInstallNftables bool + AutoSystemTuning bool Must *actions.Must }) { @@ -193,6 +195,7 @@ func (this *IndexAction) RunPost(params struct { ClockJSON: clockConfigJSON, AutoRemoteStart: params.AutoRemoteStart, AutoInstallNftables: params.AutoInstallNftables, + AutoSystemTuning: params.AutoSystemTuning, SshParamsJSON: sshParamsJSON, }) if err != nil { diff --git a/internal/web/actions/default/clusters/create.go b/internal/web/actions/default/clusters/create.go index 5e43d8fc..957dea05 100644 --- a/internal/web/actions/default/clusters/create.go +++ b/internal/web/actions/default/clusters/create.go @@ -64,6 +64,7 @@ func (this *CreateAction) RunPost(params struct { InstallDir string SystemdServiceIsOn bool AutoInstallNftables bool + AutoSystemTuning bool // DNS相关 DnsDomainId int64 @@ -132,6 +133,7 @@ func (this *CreateAction) RunPost(params struct { SystemServicesJSON: systemServicesJSON, GlobalServerConfigJSON: globalServerConfigJSON, AutoInstallNftables: params.AutoInstallNftables, + AutoSystemTuning: params.AutoSystemTuning, }) if err != nil { this.ErrorPage(err) diff --git a/web/public/js/components.js b/web/public/js/components.js index 9c909cc3..7d239ad5 100644 --- a/web/public/js/components.js +++ b/web/public/js/components.js @@ -3803,16 +3803,6 @@ example2.com
-当某个IP在1分钟内平均QPS达到此值时,才会触发CC防护;如果设置为0,表示任何访问都会触发。
-当某个IP在1分钟内平均QPS达到此值时,才会开始检测;如果设置为0,表示任何访问都会检测。(注意这里设置的是检测开启阈值,不是拦截阈值,拦截阈值在当前表单下方可以设置)
+当某个IP在1分钟内平均QPS达到此值时,才会触发CC防护;如果设置为0,表示任何访问都会触发。
-当某个IP在1分钟内平均QPS达到此值时,才会开始检测;如果设置为0,表示任何访问都会检测。(注意这里设置的是检测开启阈值,不是拦截阈值,拦截阈值在当前表单下方可以设置)
+通配符正则表达式中不能包含问号(?)及问号以后的内容。
在Linux系统中自动尝试安装
选中后,表示在Linux系统中自动尝试安装
选中后,表示自动调整Linux内核等参数,以便提升性能;启用后,以往安装的边缘节点需要重启进程后才能生效。
在Linux系统中自动尝试安装
选中后,表示在Linux系统中自动尝试安装
选中后,表示自动调整Linux内核等参数,以便提升性能。