Skip to content

Commit

Permalink
Merge pull request #240 from martinsumner/mas-i239-schemaalign
Browse files Browse the repository at this point in the history
Correct defaults
  • Loading branch information
martinsumner authored Dec 18, 2018
2 parents 420322c + 32ea438 commit 0a43d69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions priv/leveled.schema
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
%% Can be lz4 or native (which will use the Erlang native zlib compression)
%% within term_to_binary
{mapping, "leveled.compression_method", "leveled.compression_method", [
{default, lz4},
{default, native},
{datatype, atom}
]}.

Expand All @@ -55,15 +55,15 @@
%% @doc The approximate size (in bytes) when a Journal file should be rolled.
%% Normally keep this as around the size of o(100K) objects. Default is 500MB
{mapping, "leveled.journal_size", "leveled.journal_size", [
{default, 500000000},
{default, 1000000000},
{datatype, integer}
]}.

%% @doc The number of journal compactions per vnode per day
%% The higher the value, the more compaction runs, and the sooner space is
%% recovered. But each run has a cost
{mapping, "leveled.compaction_runs_perday", "leveled.compaction_runs_perday", [
{default, 16},
{default, 24},
{datatype, integer}
]}.

Expand All @@ -89,7 +89,7 @@
%% In a single compaction run, what is the maximum number of consecutive files
%% which may be compacted.
{mapping, "leveled.max_run_length", "leveled.max_run_length", [
{default, 6},
{default, 4},
{datatype, integer}
]}.

Expand Down

0 comments on commit 0a43d69

Please sign in to comment.