mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
WIP rebase on main
This commit is contained in:
@ -108,6 +108,10 @@ impl Data {
|
||||
Ok(self.index_controller.get_all_stats().await?)
|
||||
}
|
||||
|
||||
pub async fn dump(&self) -> anyhow::Result<String> {
|
||||
Ok(self.index_controller.dump(self.options.dumps_dir.clone()).await?)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn http_payload_size_limit(&self) -> usize {
|
||||
self.options.http_payload_size_limit.get_bytes() as usize
|
||||
|
Reference in New Issue
Block a user