mirror of https://github.com/milvus-io/milvus.git
Fix liveness check not quit after canceled (#8454)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/8478/head
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…
Reference in New Issue