mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user