diff --git a/configs/milvus.yaml b/configs/milvus.yaml index 93fca0b9cb..10965fca9f 100644 --- a/configs/milvus.yaml +++ b/configs/milvus.yaml @@ -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: diff --git a/internal/util/paramtable/global_param.go b/internal/util/paramtable/global_param.go index 38ed25cb35..a0dfdfbe7a 100644 --- a/internal/util/paramtable/global_param.go +++ b/internal/util/paramtable/global_param.go @@ -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 { diff --git a/internal/util/paramtable/global_param_test.go b/internal/util/paramtable/global_param_test.go index e4637bfd73..b26fa6c818 100644 --- a/internal/util/paramtable/global_param_test.go +++ b/internal/util/paramtable/global_param_test.go @@ -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)