mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-17 20:02:43 +00:00
Configurable diff buffer cache size (#4420)
This commit is contained in:
@@ -665,6 +665,14 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
.help("Specifies how many states the database should cache in memory [default: 128]")
|
||||
.takes_value(true)
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("diff-buffer-cache-size")
|
||||
.long("diff-buffer-cache-size")
|
||||
.value_name("SIZE")
|
||||
.help("The maximum number of diff buffers to hold in memory. This cache is used \
|
||||
when fetching historic states [default: 16]")
|
||||
.takes_value(true)
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("compression-level")
|
||||
.long("compression-level")
|
||||
|
||||
Reference in New Issue
Block a user