提交 fab1bbc8 编写于 作者: L Lizhou Gao

replace the missing D_SEC

上级 6c14297a
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册