mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comment for SetFlushTime (#9668)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user