mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for SetFlushTime (#9668)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9703/head
parent
6fc64b836a
commit
aba9aa450d
|
@ -253,6 +253,7 @@ func SetBinlogs(binlogs []*datapb.FieldBinlog) SegmentInfoOption {
|
|||
}
|
||||
}
|
||||
|
||||
// SetFlushTime is the option to set flush time for segment info
|
||||
func SetFlushTime(t time.Time) SegmentInfoOption {
|
||||
return func(segment *SegmentInfo) {
|
||||
segment.lastFlushTime = t
|
||||
|
|
Loading…
Reference in New Issue