fix(retainer): mark `flow-control` as non-importance field

This commit is contained in:
firest 2023-04-18 15:34:42 +08:00
parent 37c0badb06
commit 721125a9f6
1 changed files with 5 additions and 2 deletions

View File

@ -53,7 +53,8 @@ fields("retainer") ->
sc(
?R_REF(flow_control),
flow_control,
#{}
#{},
?IMPORTANCE_HIDDEN
)},
{max_payload_size,
sc(
@ -125,7 +126,9 @@ desc(_) ->
%% hoconsc:mk(Type, #{desc => ?DESC(DescId)}).
sc(Type, DescId, Default) ->
hoconsc:mk(Type, #{default => Default, desc => ?DESC(DescId)}).
sc(Type, DescId, Default, ?DEFAULT_IMPORTANCE).
sc(Type, DescId, Default, Importance) ->
hoconsc:mk(Type, #{default => Default, desc => ?DESC(DescId), importance => Importance}).
backend_config() ->
hoconsc:mk(hoconsc:ref(?MODULE, mnesia_config), #{desc => ?DESC(backend)}).