diff --git a/internal/web/actions/default/clusters/cluster/settings/global-server-config/index.go b/internal/web/actions/default/clusters/cluster/settings/global-server-config/index.go index 0778349c..6e71b1e7 100644 --- a/internal/web/actions/default/clusters/cluster/settings/global-server-config/index.go +++ b/internal/web/actions/default/clusters/cluster/settings/global-server-config/index.go @@ -85,6 +85,7 @@ func (this *IndexAction) RunPost(params struct { LogRecordServerError bool + PerformanceAutoReadTimeout bool PerformanceAutoWriteTimeout bool PerformanceDebug bool @@ -142,6 +143,7 @@ func (this *IndexAction) RunPost(params struct { config.Log.RecordServerError = params.LogRecordServerError // 性能 + config.Performance.AutoReadTimeout = params.PerformanceAutoReadTimeout config.Performance.AutoWriteTimeout = params.PerformanceAutoWriteTimeout config.Performance.Debug = params.PerformanceDebug diff --git a/web/views/@default/clusters/cluster/settings/global-server-config/index.html b/web/views/@default/clusters/cluster/settings/global-server-config/index.html index 29965932..04ffac40 100644 --- a/web/views/@default/clusters/cluster/settings/global-server-config/index.html +++ b/web/views/@default/clusters/cluster/settings/global-server-config/index.html @@ -92,11 +92,18 @@
| 自动读数据超时 | +
+                     从客户端读取数据时自动设置超时时间,如果超时,则自动视为慢连接,并关闭网络连接;此为专业选项,请在专家指导下进行修改。 + | 
+            
| 自动写数据超时 | 
                      向客户端发送数据时自动设置超时时间,如果超时,则自动视为慢连接,并关闭网络连接。 +向客户端发送数据时自动设置超时时间,如果超时,则自动视为慢连接,并关闭网络连接;此为专业选项,请在专家指导下进行修改。  |