mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
replace the missing D_SEC
This commit is contained in:
parent
6c14297a29
commit
fab1bbc860
@ -1204,7 +1204,7 @@ SqliteMetaImpl::Archive() {
|
||||
auto& criteria = kv.first;
|
||||
auto& limit = kv.second;
|
||||
if (criteria == engine::ARCHIVE_CONF_DAYS) {
|
||||
int64_t usecs = limit * D_SEC * US_PS;
|
||||
int64_t usecs = limit * DAY * US_PS;
|
||||
int64_t now = utils::GetMicroSecTimeStamp();
|
||||
try {
|
||||
// multi-threads call sqlite update may get exception('bad logic', etc), so we add a lock here
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user