mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for SetExpireTime (#9395)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9412/head
parent
9bc2c9f419
commit
6c0b38eb5a
|
@ -189,6 +189,7 @@ func SetRowCount(rowCount int64) SegmentInfoOption {
|
|||
}
|
||||
}
|
||||
|
||||
// SetExpireTime is the option to set expire time for segment info
|
||||
func SetExpireTime(expireTs Timestamp) SegmentInfoOption {
|
||||
return func(segment *SegmentInfo) {
|
||||
segment.LastExpireTime = expireTs
|
||||
|
|
Loading…
Reference in New Issue