mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
Stop computing the update files size
This commit is contained in:
parent
7745cc9d3c
commit
516d2df862
@ -284,9 +284,6 @@ pub fn create_all_stats(
|
|||||||
used_database_size += index_scheduler.used_size()?;
|
used_database_size += index_scheduler.used_size()?;
|
||||||
database_size += auth_controller.size()?;
|
database_size += auth_controller.size()?;
|
||||||
used_database_size += auth_controller.used_size()?;
|
used_database_size += auth_controller.used_size()?;
|
||||||
let update_file_size = index_scheduler.compute_update_file_size()?;
|
|
||||||
database_size += update_file_size;
|
|
||||||
used_database_size += update_file_size;
|
|
||||||
|
|
||||||
let stats = Stats { database_size, used_database_size, last_update: last_task, indexes };
|
let stats = Stats { database_size, used_database_size, last_update: last_task, indexes };
|
||||||
Ok(stats)
|
Ok(stats)
|
||||||
|
Loading…
Reference in New Issue
Block a user