mirror of https://github.com/milvus-io/milvus.git
fix: Remove timeout in datanode watch ctx (#35011)
See also #35008 Use tickle timeout logic instead of hardcode context timeout Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/35015/head
parent
63f0154dfb
commit
e8038a76e1
|
@ -345,7 +345,7 @@ func (r *opRunner) watchWithTimer(info *datapb.ChannelWatchInfo) *opState {
|
|||
)
|
||||
|
||||
watchTimeout := paramtable.Get().DataCoordCfg.WatchTimeoutInterval.GetAsDuration(time.Second)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), watchTimeout)
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
startTimer := func(finishWg *sync.WaitGroup) {
|
||||
|
|
Loading…
Reference in New Issue