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}).
|
||||
|
||||
-record(cdb_options,
|
||||
{max_size :: integer(),
|
||||
file_path :: string() | undefined,
|
||||
waste_path :: string() | undefined,
|
||||
binary_mode = false :: boolean(),
|
||||
sync_strategy = sync}).
|
||||
{max_size :: integer() | undefined,
|
||||
file_path :: string() | undefined,
|
||||
waste_path :: string() | undefined,
|
||||
binary_mode = false :: boolean(),
|
||||
sync_strategy = sync}).
|
||||
|
||||
-record(inker_options,
|
||||
{cdb_max_size :: integer() | undefined,
|
||||
|
@ -61,11 +61,11 @@
|
|||
levelzero_cointoss = false :: boolean()}).
|
||||
|
||||
-record(iclerk_options,
|
||||
{inker :: pid(),
|
||||
max_run_length :: integer(),
|
||||
cdb_options = #cdb_options{} :: #cdb_options{},
|
||||
waste_retention_period :: integer(),
|
||||
reload_strategy = [] :: list()}).
|
||||
{inker :: pid() | undefined,
|
||||
max_run_length :: integer() | undefined,
|
||||
cdb_options = #cdb_options{} :: #cdb_options{},
|
||||
waste_retention_period :: integer() | undefined,
|
||||
reload_strategy = [] :: list()}).
|
||||
|
||||
-record(recent_aae, {filter :: whitelist|blacklist,
|
||||
% the buckets list should either be a
|
||||
|
|
|
@ -104,17 +104,17 @@
|
|||
-define(DEFAULT_WASTE_RETENTION_PERIOD, 86400).
|
||||
-define(INTERVALS_PER_HOUR, 4).
|
||||
|
||||
-record(state, {inker :: pid(),
|
||||
max_run_length :: integer(),
|
||||
cdb_options,
|
||||
waste_retention_period :: integer(),
|
||||
waste_path :: string(),
|
||||
reload_strategy = ?DEFAULT_RELOAD_STRATEGY :: list()}).
|
||||
-record(state, {inker :: pid() | undefined,
|
||||
max_run_length :: integer() | undefined,
|
||||
cdb_options,
|
||||
waste_retention_period :: integer() | undefined,
|
||||
waste_path :: string() | undefined,
|
||||
reload_strategy = ?DEFAULT_RELOAD_STRATEGY :: list()}).
|
||||
|
||||
-record(candidate, {low_sqn :: integer(),
|
||||
filename :: string(),
|
||||
journal :: pid(),
|
||||
compaction_perc :: float()}).
|
||||
-record(candidate, {low_sqn :: integer() | undefined,
|
||||
filename :: string() | undefined,
|
||||
journal :: pid() | undefined,
|
||||
compaction_perc :: float() | undefined}).
|
||||
|
||||
|
||||
%%%============================================================================
|
||||
|
@ -967,4 +967,4 @@ coverage_cheat_test() ->
|
|||
{reply, not_supported, _State2} = handle_call(null, null, #state{}),
|
||||
terminate(error, #state{}).
|
||||
|
||||
-endif.
|
||||
-endif.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue