mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-12 13:49:59 +08:00
Add a link to the experimental feature GitHub discussion
This commit is contained in:
parent
659f5d589b
commit
1b2a9d462e
@ -306,6 +306,9 @@ fn create_or_open_index(
|
|||||||
let mut options = EnvOpenOptions::new();
|
let mut options = EnvOpenOptions::new();
|
||||||
options.map_size(clamp_to_page_size(map_size));
|
options.map_size(clamp_to_page_size(map_size));
|
||||||
|
|
||||||
|
// You can find more details about this experimental
|
||||||
|
// environment variable on the following GitHub discussion:
|
||||||
|
// <https://github.com/orgs/meilisearch/discussions/806>
|
||||||
let max_readers = match std::env::var("MEILI_EXPERIMENTAL_INDEX_MAX_READERS") {
|
let max_readers = match std::env::var("MEILI_EXPERIMENTAL_INDEX_MAX_READERS") {
|
||||||
Ok(value) => u32::from_str(&value).unwrap(),
|
Ok(value) => u32::from_str(&value).unwrap(),
|
||||||
Err(VarError::NotPresent) => 1024,
|
Err(VarError::NotPresent) => 1024,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user