mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 08:11:04 +00:00
Change default index map size to 10GiB
This commit is contained in:
@ -62,7 +62,7 @@ pub struct IndexMapper {
|
||||
|
||||
mod index_map {
|
||||
/// the map size to use when we don't succeed in reading it in indexes.
|
||||
const DEFAULT_MAP_SIZE: usize = 10_737_418_240; // 10 GiB
|
||||
const DEFAULT_MAP_SIZE: usize = 10 * 1024 * 1024 * 1024; // 10 GiB
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
use std::path::Path;
|
||||
|
Reference in New Issue
Block a user