mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
集群服务设置增加自动读超时选项
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user