fix tests

This commit is contained in:
Cong Chen 2023-07-01 09:32:50 +08:00
parent 3bdf01bc1c
commit 9859e65d2f
2 changed files with 3 additions and 4 deletions

View file

@ -48,8 +48,7 @@ pub async fn get_metrics(
}
}
crate::metrics::MEILISEARCH_LAST_UPDATE
.set(response.last_update.unwrap().unix_timestamp());
crate::metrics::MEILISEARCH_LAST_UPDATE.set(response.last_update.unwrap().unix_timestamp());
crate::metrics::MEILISEARCH_IS_INDEXING
.set(index_scheduler.is_task_processing().unwrap() as i64);