fix(retainer): set default value of flow control
This commit is contained in:
parent
472673c5b6
commit
9afad90b91
|
@ -36,7 +36,8 @@ fields("retainer") ->
|
|||
{flow_control,
|
||||
sc(
|
||||
?R_REF(flow_control),
|
||||
flow_control
|
||||
flow_control,
|
||||
#{}
|
||||
)},
|
||||
{max_payload_size,
|
||||
sc(
|
||||
|
@ -104,8 +105,8 @@ desc(_) ->
|
|||
%% Internal functions
|
||||
%%--------------------------------------------------------------------
|
||||
|
||||
sc(Type, DescId) ->
|
||||
hoconsc:mk(Type, #{desc => ?DESC(DescId)}).
|
||||
%%sc(Type, DescId) ->
|
||||
%% hoconsc:mk(Type, #{desc => ?DESC(DescId)}).
|
||||
|
||||
sc(Type, DescId, Default) ->
|
||||
hoconsc:mk(Type, #{default => Default, desc => ?DESC(DescId)}).
|
||||
|
|
Loading…
Reference in New Issue