mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-04 11:18:44 +08:00
Fix liveness check not quit after canceled (#8454)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
66bf329ad3
commit
a182326c60
@ -356,6 +356,7 @@ func (s *Session) LivenessCheck(ctx context.Context, ch <-chan bool, callback fu
|
||||
return
|
||||
case <-ctx.Done():
|
||||
log.Debug("liveness exits due to context done")
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user