Skip to content

Commit

Permalink
Change variable names for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Feb 19, 2024
1 parent 74f8eb6 commit 2f7c78f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tigerbeetle/cli.zig
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ const CliArgs = union(enum) {
\\ and should be set as large as possible.
\\ On a machine running only TigerBeetle, this is somewhere around
\\ (Total RAM) - 3GB (TigerBeetle) - 1GB (System), eg 12GB for a 16GB machine.
\\ Defaults to {[default_cache_grid]d}GB.
\\ Defaults to {[default_cache_grid_gb]d}GB.
\\
\\ --memory-lsm-manifest=<size><KB|MB|GB>
\\ Sets the amount of memory allocated for LSM-tree manifests. When the
\\ number or size of LSM-trees would become too large for their manifests to fit
\\ into memory the server will terminate.
\\ Defaults to {[default_memory_lsm_manifest]d}MB.
\\ Defaults to {[default_memory_lsm_manifest_mb]d}MB.
\\
\\ --verbose
\\ Print compile-time configuration along with the build version.
Expand All @@ -158,11 +158,11 @@ const CliArgs = union(enum) {
, .{
.default_address = constants.address,
.default_port = constants.port,
.default_cache_grid = @divExact(
.default_cache_grid_gb = @divExact(
constants.grid_cache_size_default,
1024 * 1024 * 1024,
),
.default_memory_lsm_manifest = @divExact(
.default_memory_lsm_manifest_mb = @divExact(
constants.lsm_manifest_memory_size_default,
1024 * 1024,
),
Expand Down

0 comments on commit 2f7c78f

Please sign in to comment.