未验证 提交 79ccf06c 编写于 作者: W wei liu 提交者: GitHub

refine proxy to querynode heartbeat interval (#26426)

Signed-off-by: NWei Liu <wei.liu@zilliz.com>
上级 9b245f04
......@@ -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
......
......@@ -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,
......
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册