diff --git a/crates/index-scheduler/src/index_mapper/index_map.rs b/crates/index-scheduler/src/index_mapper/index_map.rs index 8324eefd0..e4eb9bfb8 100644 --- a/crates/index-scheduler/src/index_mapper/index_map.rs +++ b/crates/index-scheduler/src/index_mapper/index_map.rs @@ -307,6 +307,9 @@ fn create_or_open_index( let mut options = EnvOpenOptions::new(); options.map_size(clamp_to_page_size(map_size)); + // You can find more details about this experimental + // environment variable on the following GitHub discussion: + // let max_readers = match std::env::var("MEILI_EXPERIMENTAL_INDEX_MAX_READERS") { Ok(value) => u32::from_str(&value).unwrap(), Err(VarError::NotPresent) => 1024,