make lmdb's map_size configurable (fix #628)

This commit is contained in:
Alex Auvolat
2023-09-11 18:03:20 +02:00
parent 5f86b48f97
commit 51b9731a08
6 changed files with 30 additions and 2 deletions
+4
View File
@@ -72,6 +72,10 @@ pub struct Config {
#[serde(default = "default_sled_flush_every_ms")]
pub sled_flush_every_ms: u64,
/// LMDB map size
#[serde(default)]
pub lmdb_map_size: Option<String>,
// -- APIs
/// Configuration for S3 api
pub s3_api: S3ApiConfig,