mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
change retention time to 1 day (#18749)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com> Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
This commit is contained in:
parent
90de312d4b
commit
8fe3895485
@ -319,7 +319,7 @@ common:
|
||||
|
||||
defaultPartitionName: "_default" # default partition name for a collection
|
||||
defaultIndexName: "_default_idx" # default index name
|
||||
retentionDuration: 432000 # 5 days in seconds
|
||||
retentionDuration: 86400 # time travel reserved time, insert/delete will not be cleaned in this period. 1 days in seconds
|
||||
entityExpiration: -1 # Entity expiration in seconds, CAUTION make sure entityExpiration >= retentionDuration and -1 means never expire
|
||||
|
||||
gracefulTime: 5000 # milliseconds. it represents the interval (in ms) by which the request arrival time needs to be subtracted in the case of Bounded Consistency.
|
||||
|
@ -26,7 +26,7 @@ import (
|
||||
|
||||
const (
|
||||
// DefaultRetentionDuration defines the default duration for retention which is 5 days in seconds.
|
||||
DefaultRetentionDuration = 3600 * 24 * 5
|
||||
DefaultRetentionDuration = 3600 * 24
|
||||
|
||||
// DefaultIndexSliceSize defines the default slice size of index file when serializing.
|
||||
DefaultIndexSliceSize = 16
|
||||
|
Loading…
Reference in New Issue
Block a user