mirror of https://github.com/milvus-io/milvus.git
refine proxy to querynode heartbeat interval (#26426)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>pull/26432/head
parent
9b245f040d
commit
79ccf06cf6
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue