mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
refactorize the dump and snapshot
This commit is contained in:
parent
87a8bf5e96
commit
c752c14c46
6 changed files with 28 additions and 24 deletions
|
@ -189,6 +189,7 @@ impl IndexControllerBuilder {
|
|||
.ok_or_else(|| anyhow::anyhow!("Snapshot interval not provided."))?,
|
||||
self.snapshot_dir
|
||||
.ok_or_else(|| anyhow::anyhow!("Snapshot path not provided."))?,
|
||||
db_path.as_ref().into(),
|
||||
db_path
|
||||
.as_ref()
|
||||
.file_name()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue