From 1b2a9d462ea42f3745d219057ae7f1951de10338 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 30 Jan 2025 11:43:01 +0100 Subject: [PATCH] Add a link to the experimental feature GitHub discussion --- crates/index-scheduler/src/index_mapper/index_map.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/index-scheduler/src/index_mapper/index_map.rs b/crates/index-scheduler/src/index_mapper/index_map.rs index dd6855eb5..7762ff800 100644 --- a/crates/index-scheduler/src/index_mapper/index_map.rs +++ b/crates/index-scheduler/src/index_mapper/index_map.rs @@ -306,6 +306,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,