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,
|
{flow_control,
|
||||||
sc(
|
sc(
|
||||||
?R_REF(flow_control),
|
?R_REF(flow_control),
|
||||||
flow_control
|
flow_control,
|
||||||
|
#{}
|
||||||
)},
|
)},
|
||||||
{max_payload_size,
|
{max_payload_size,
|
||||||
sc(
|
sc(
|
||||||
|
@ -104,8 +105,8 @@ desc(_) ->
|
||||||
%% Internal functions
|
%% Internal functions
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
sc(Type, DescId) ->
|
%%sc(Type, DescId) ->
|
||||||
hoconsc:mk(Type, #{desc => ?DESC(DescId)}).
|
%% hoconsc:mk(Type, #{desc => ?DESC(DescId)}).
|
||||||
|
|
||||||
sc(Type, DescId, Default) ->
|
sc(Type, DescId, Default) ->
|
||||||
hoconsc:mk(Type, #{default => Default, desc => ?DESC(DescId)}).
|
hoconsc:mk(Type, #{default => Default, desc => ?DESC(DescId)}).
|
||||||
|
|
Loading…
Reference in New Issue