From b4bf7ce9b0725506cd44531a5c2ef9a232623833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 19 Nov 2024 13:35:39 +0100 Subject: [PATCH] Increase the number of readers as the indexer uses readers too --- crates/benchmarks/benches/indexing.rs | 2 +- crates/benchmarks/benches/utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/benchmarks/benches/indexing.rs b/crates/benchmarks/benches/indexing.rs index 7f7ae4a74..24e2651b8 100644 --- a/crates/benchmarks/benches/indexing.rs +++ b/crates/benchmarks/benches/indexing.rs @@ -35,7 +35,7 @@ fn setup_index() -> Index { setup_dir(path); let mut options = EnvOpenOptions::new(); options.map_size(100 * 1024 * 1024 * 1024); // 100 GB - options.max_readers(10); + options.max_readers(100); Index::new(options, path).unwrap() } diff --git a/crates/benchmarks/benches/utils.rs b/crates/benchmarks/benches/utils.rs index 5900db481..9d216a7f9 100644 --- a/crates/benchmarks/benches/utils.rs +++ b/crates/benchmarks/benches/utils.rs @@ -66,7 +66,7 @@ pub fn base_setup(conf: &Conf) -> Index { let mut options = EnvOpenOptions::new(); options.map_size(100 * 1024 * 1024 * 1024); // 100 GB - options.max_readers(10); + options.max_readers(100); let index = Index::new(options, conf.database_name).unwrap(); let config = IndexerConfig::default();