mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Remove useless configuration rootcoord.timeout (#14852)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>pull/14880/head
parent
2199a4b5a7
commit
d01931d8d9
|
@ -62,7 +62,6 @@ rootCoord:
|
|||
dmlChannelNum: 256 # The number of dml channels created at system startup
|
||||
maxPartitionNum: 4096 # Maximum number of partitions in a collection
|
||||
minSegmentSizeToEnableIndex: 1024 # It's a threshold. When the segment size is less than this value, the segment will not be indexed
|
||||
timeout: 3600 # time out, 5 seconds
|
||||
|
||||
# Related configuration of proxy, used to validate client requests and reduce the returned results.
|
||||
proxy:
|
||||
|
|
|
@ -308,8 +308,6 @@ type rootCoordConfig struct {
|
|||
DefaultIndexName string
|
||||
MinSegmentSizeToEnableIndex int64
|
||||
|
||||
Timeout int
|
||||
|
||||
CreatedTime time.Time
|
||||
UpdatedTime time.Time
|
||||
}
|
||||
|
@ -334,8 +332,6 @@ func (p *rootCoordConfig) init(bp *BaseParamTable) {
|
|||
p.initMinSegmentSizeToEnableIndex()
|
||||
p.initDefaultPartitionName()
|
||||
p.initDefaultIndexName()
|
||||
|
||||
p.initTimeout()
|
||||
}
|
||||
|
||||
func (p *rootCoordConfig) initPulsarAddress() {
|
||||
|
@ -445,10 +441,6 @@ func (p *rootCoordConfig) initDefaultIndexName() {
|
|||
p.DefaultIndexName = name
|
||||
}
|
||||
|
||||
func (p *rootCoordConfig) initTimeout() {
|
||||
p.Timeout = p.BaseParams.ParseIntWithDefault("rootCoord.timeout", 3600)
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// --- proxy ---
|
||||
type proxyConfig struct {
|
||||
|
|
|
@ -73,9 +73,6 @@ func TestGlobalParamTable(t *testing.T) {
|
|||
assert.NotEqual(t, Params.DefaultIndexName, "")
|
||||
t.Logf("default index name = %s", Params.DefaultIndexName)
|
||||
|
||||
assert.NotZero(t, Params.Timeout)
|
||||
t.Logf("master timeout = %d", Params.Timeout)
|
||||
|
||||
Params.CreatedTime = time.Now()
|
||||
Params.UpdatedTime = time.Now()
|
||||
t.Logf("created time: %v", Params.CreatedTime)
|
||||
|
|
Loading…
Reference in New Issue