Remove --max-index-size and --max-task-db-size

This commit is contained in:
Louis Dureuil 2022-12-26 11:41:31 +01:00
parent c766e06003
commit 233372abea
No known key found for this signature in database
4 changed files with 19 additions and 30 deletions

View file

@ -225,8 +225,6 @@ struct Infos {
ignore_missing_snapshot: bool,
ignore_snapshot_if_db_exists: bool,
http_addr: bool,
max_index_size: Byte,
max_task_db_size: Byte,
http_payload_size_limit: Byte,
log_level: String,
max_indexing_memory: MaxMemory,
@ -251,8 +249,8 @@ impl From<Opt> for Infos {
http_addr,
master_key: _,
env,
max_index_size,
max_task_db_size,
max_index_size: _,
max_task_db_size: _,
http_payload_size_limit,
ssl_cert_path,
ssl_key_path,
@ -305,8 +303,6 @@ impl From<Opt> for Infos {
ignore_missing_snapshot,
ignore_snapshot_if_db_exists,
http_addr: http_addr != default_http_addr(),
max_index_size,
max_task_db_size,
http_payload_size_limit,
log_level: log_level.to_string(),
max_indexing_memory,