mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-14 03:00:25 +08:00
可以在集群设置中修改节点最大并发读/写数
This commit is contained in:
@@ -81,6 +81,8 @@ func (this *CreateAction) RunPost(params struct {
|
||||
AutoInstallNftables bool
|
||||
AutoSystemTuning bool
|
||||
AutoTrimDisks bool
|
||||
MaxConcurrentReads int32
|
||||
MaxConcurrentWrites int32
|
||||
|
||||
// DNS相关
|
||||
DnsDomainId int64
|
||||
@@ -151,6 +153,8 @@ func (this *CreateAction) RunPost(params struct {
|
||||
AutoInstallNftables: params.AutoInstallNftables,
|
||||
AutoSystemTuning: params.AutoSystemTuning,
|
||||
AutoTrimDisks: params.AutoTrimDisks,
|
||||
MaxConcurrentReads: params.MaxConcurrentReads,
|
||||
MaxConcurrentWrites: params.MaxConcurrentWrites,
|
||||
})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
Reference in New Issue
Block a user