diff --git a/meilisearch/src/lib.rs b/meilisearch/src/lib.rs index ee88c7f7d..6d18942a4 100644 --- a/meilisearch/src/lib.rs +++ b/meilisearch/src/lib.rs @@ -205,7 +205,7 @@ fn open_or_create_database_unchecked( update_file_path: opt.db_path.join("update_files"), indexes_path: opt.db_path.join("indexes"), snapshots_path: opt.snapshot_dir.clone(), - dumps_path: opt.dumps_dir.clone(), + dumps_path: opt.dump_dir.clone(), task_db_size: opt.max_task_db_size.get_bytes() as usize, index_size: opt.max_index_size.get_bytes() as usize, indexer_config: (&opt.indexer_options).try_into()?,