Cleanup dialyzer errrors in leveled_iclerk
This commit is contained in:
parent
eece253222
commit
e8ed7954cc
2 changed files with 21 additions and 21 deletions
|
@ -34,11 +34,11 @@
|
||||||
filename :: string() | undefined}).
|
filename :: string() | undefined}).
|
||||||
|
|
||||||
-record(cdb_options,
|
-record(cdb_options,
|
||||||
{max_size :: integer(),
|
{max_size :: integer() | undefined,
|
||||||
file_path :: string() | undefined,
|
file_path :: string() | undefined,
|
||||||
waste_path :: string() | undefined,
|
waste_path :: string() | undefined,
|
||||||
binary_mode = false :: boolean(),
|
binary_mode = false :: boolean(),
|
||||||
sync_strategy = sync}).
|
sync_strategy = sync}).
|
||||||
|
|
||||||
-record(inker_options,
|
-record(inker_options,
|
||||||
{cdb_max_size :: integer() | undefined,
|
{cdb_max_size :: integer() | undefined,
|
||||||
|
@ -61,11 +61,11 @@
|
||||||
levelzero_cointoss = false :: boolean()}).
|
levelzero_cointoss = false :: boolean()}).
|
||||||
|
|
||||||
-record(iclerk_options,
|
-record(iclerk_options,
|
||||||
{inker :: pid(),
|
{inker :: pid() | undefined,
|
||||||
max_run_length :: integer(),
|
max_run_length :: integer() | undefined,
|
||||||
cdb_options = #cdb_options{} :: #cdb_options{},
|
cdb_options = #cdb_options{} :: #cdb_options{},
|
||||||
waste_retention_period :: integer(),
|
waste_retention_period :: integer() | undefined,
|
||||||
reload_strategy = [] :: list()}).
|
reload_strategy = [] :: list()}).
|
||||||
|
|
||||||
-record(recent_aae, {filter :: whitelist|blacklist,
|
-record(recent_aae, {filter :: whitelist|blacklist,
|
||||||
% the buckets list should either be a
|
% the buckets list should either be a
|
||||||
|
|
|
@ -104,17 +104,17 @@
|
||||||
-define(DEFAULT_WASTE_RETENTION_PERIOD, 86400).
|
-define(DEFAULT_WASTE_RETENTION_PERIOD, 86400).
|
||||||
-define(INTERVALS_PER_HOUR, 4).
|
-define(INTERVALS_PER_HOUR, 4).
|
||||||
|
|
||||||
-record(state, {inker :: pid(),
|
-record(state, {inker :: pid() | undefined,
|
||||||
max_run_length :: integer(),
|
max_run_length :: integer() | undefined,
|
||||||
cdb_options,
|
cdb_options,
|
||||||
waste_retention_period :: integer(),
|
waste_retention_period :: integer() | undefined,
|
||||||
waste_path :: string(),
|
waste_path :: string() | undefined,
|
||||||
reload_strategy = ?DEFAULT_RELOAD_STRATEGY :: list()}).
|
reload_strategy = ?DEFAULT_RELOAD_STRATEGY :: list()}).
|
||||||
|
|
||||||
-record(candidate, {low_sqn :: integer(),
|
-record(candidate, {low_sqn :: integer() | undefined,
|
||||||
filename :: string(),
|
filename :: string() | undefined,
|
||||||
journal :: pid(),
|
journal :: pid() | undefined,
|
||||||
compaction_perc :: float()}).
|
compaction_perc :: float() | undefined}).
|
||||||
|
|
||||||
|
|
||||||
%%%============================================================================
|
%%%============================================================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue