mirror of https://github.com/milvus-io/milvus.git
pr: #28648 it's easy to trigger heartbeat timeout after 100ms when standalone cpu usage reach 100%. This PR increase the heartbeat timeout param to 2000ms Signed-off-by: Wei Liu <wei.liu@zilliz.com>pull/28726/head^2
parent
8520ee7552
commit
9e82a75c22
|
@ -1500,7 +1500,7 @@ func (p *queryCoordConfig) init(base *BaseTable) {
|
|||
p.CheckHealthRPCTimeout = ParamItem{
|
||||
Key: "queryCoord.checkHealthRPCTimeout",
|
||||
Version: "2.2.7",
|
||||
DefaultValue: "100",
|
||||
DefaultValue: "2000",
|
||||
PanicIfEmpty: true,
|
||||
Doc: "100ms, the timeout of check health rpc to query node",
|
||||
Export: true,
|
||||
|
|
|
@ -260,7 +260,7 @@ func TestComponentParam(t *testing.T) {
|
|||
checkHealthInterval := Params.CheckHealthInterval.GetAsInt()
|
||||
assert.Equal(t, 3000, checkHealthInterval)
|
||||
checkHealthRPCTimeout := Params.CheckHealthRPCTimeout.GetAsInt()
|
||||
assert.Equal(t, 100, checkHealthRPCTimeout)
|
||||
assert.Equal(t, 2000, checkHealthRPCTimeout)
|
||||
|
||||
assert.Equal(t, 0.1, Params.GlobalRowCountFactor.GetAsFloat())
|
||||
params.Save("queryCoord.globalRowCountFactor", "0.4")
|
||||
|
|
Loading…
Reference in New Issue