remove the dump_batch_size option from the CLI

This commit is contained in:
Tamo 2021-06-01 20:27:12 +02:00 committed by Tamo
parent d0552e765e
commit 2d7785ae0c
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69
2 changed files with 0 additions and 6 deletions

View File

@ -202,11 +202,6 @@ pub struct Opt {
#[structopt(long, conflicts_with = "import-snapshot")]
pub import_dump: Option<PathBuf>,
/// The batch size used in the importation process, the bigger it is the faster the dump is created.
/// This options is now deprecated and will be ignored
#[structopt(long, env = "MEILI_DUMP_BATCH_SIZE", default_value = "1024")]
pub dump_batch_size: usize,
#[structopt(flatten)]
pub indexer_options: IndexerOpts,
}

View File

@ -68,7 +68,6 @@ pub fn default_settings(dir: impl AsRef<Path>) -> Opt {
Opt {
db_path: dir.as_ref().join("db"),
dumps_dir: dir.as_ref().join("dump"),
dump_batch_size: 16,
http_addr: "127.0.0.1:7700".to_owned(),
master_key: None,
env: "development".to_owned(),