From 4f510ba04463e7a777ed3077dcdfa90690ca277e Mon Sep 17 00:00:00 2001 From: dylanhuang Date: Fri, 22 Nov 2024 16:26:54 +0800 Subject: [PATCH] fix: change default db size to 8TB --- crates/storage/db/src/implementation/mdbx/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/storage/db/src/implementation/mdbx/mod.rs b/crates/storage/db/src/implementation/mdbx/mod.rs index 78a3f7971..8e3dad465 100644 --- a/crates/storage/db/src/implementation/mdbx/mod.rs +++ b/crates/storage/db/src/implementation/mdbx/mod.rs @@ -105,7 +105,7 @@ impl DatabaseArguments { Self { client_version, geometry: Geometry { - size: Some(0..(4 * TERABYTE)), + size: Some(0..(8 * TERABYTE)), growth_step: Some(4 * GIGABYTE as isize), shrink_threshold: Some(0), page_size: Some(PageSize::Set(default_page_size())),