diff --git a/configs/milvus.yaml b/configs/milvus.yaml index 1e668fc2268741259d0d6f48a8f124b90ff18dad..66cf1027a124a29a7705f83b0daf39b383345a9b 100644 --- a/configs/milvus.yaml +++ b/configs/milvus.yaml @@ -176,7 +176,7 @@ rootCoord: # Related configuration of proxy, used to validate client requests and reduce the returned results. proxy: timeTickInterval: 200 # ms, the interval that proxy synchronize the time tick - healthCheckTimetout: 500 # ms, the interval that to do component healthy check + healthCheckTimetout: 3000 # ms, the interval that to do component healthy check msgStream: timeTick: bufSize: 512 diff --git a/pkg/util/paramtable/component_param.go b/pkg/util/paramtable/component_param.go index 2a33e36be70d2a715b6f4ee753dfd47445c7c32d..1db214c48281fff9b0cb03a6ea6f5910636e683b 100644 --- a/pkg/util/paramtable/component_param.go +++ b/pkg/util/paramtable/component_param.go @@ -904,7 +904,7 @@ func (p *proxyConfig) init(base *BaseTable) { p.HealthCheckTimetout = ParamItem{ Key: "proxy.healthCheckTimetout", Version: "2.3.0", - DefaultValue: "1000", + DefaultValue: "3000", PanicIfEmpty: true, Doc: "ms, the interval that to do component healthy check", Export: true, diff --git a/pkg/util/paramtable/component_param_test.go b/pkg/util/paramtable/component_param_test.go index 248cb677861ea142aab1e95c737f1cb3e4e18c5e..1b0cd30453df01858dd879763dd9b91b3e8579b8 100644 --- a/pkg/util/paramtable/component_param_test.go +++ b/pkg/util/paramtable/component_param_test.go @@ -166,6 +166,7 @@ func TestComponentParam(t *testing.T) { assert.Equal(t, Params.CheckQueryNodeHealthInterval.GetAsInt(), 1000) assert.Equal(t, Params.CostMetricsExpireTime.GetAsInt(), 1000) assert.Equal(t, Params.RetryTimesOnReplica.GetAsInt(), 2) + assert.Equal(t, Params.HealthCheckTimetout.GetAsInt64(), 3000) }) // t.Run("test proxyConfig panic", func(t *testing.T) {