mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-18 17:11:15 +08:00
Update index-scheduler/src/lib.rs
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
This commit is contained in:
parent
3bcff60d1c
commit
bf94f89035
@ -902,7 +902,7 @@ impl IndexScheduler {
|
|||||||
Ok(self.file_store.new_update_with_uuid(uuid)?)
|
Ok(self.file_store.new_update_with_uuid(uuid)?)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// List the update files contained in the IndexScheduler.
|
/// The size on disk taken by all the updates files contained in the `IndexScheduler`, in bytes.
|
||||||
pub fn update_file_size(&self) -> Result<u64> {
|
pub fn update_file_size(&self) -> Result<u64> {
|
||||||
Ok(self.file_store.update_total_size()?)
|
Ok(self.file_store.update_total_size()?)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user