From 445a6c9ea2fc4c39cf2f1ffad130c43703f80e22 Mon Sep 17 00:00:00 2001 From: mpostma Date: Fri, 21 Aug 2020 14:42:20 +0200 Subject: [PATCH] update options name --- meilisearch-http/src/option.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meilisearch-http/src/option.rs b/meilisearch-http/src/option.rs index 021890433..03645918b 100644 --- a/meilisearch-http/src/option.rs +++ b/meilisearch-http/src/option.rs @@ -49,12 +49,12 @@ pub struct Opt { pub no_analytics: bool, /// The maximum size, in bytes, of the main lmdb database directory - #[structopt(long, env = "MEILI_MAIN_MAP_SIZE", default_value = "107374182400")] // 100GB - pub main_map_size: usize, + #[structopt(long, env = "MEILI_MAX_MDB_SIZE", default_value = "107374182400")] // 100GB + pub max_mdb_size: usize, /// The maximum size, in bytes, of the update lmdb database directory - #[structopt(long, env = "MEILI_UPDATE_MAP_SIZE", default_value = "107374182400")] // 100GB - pub update_map_size: usize, + #[structopt(long, env = "MEILI_MAX_UDB_SIZE", default_value = "107374182400")] // 100GB + pub max_udb_size: usize, /// The maximum size, in bytes, of accepted JSON payloads #[structopt(long, env = "MEILI_HTTP_PAYLOAD_SIZE_LIMIT", default_value = "10485760")] // 10MB