chore(config): validate max_inflight range

This commit is contained in:
Zaiming Shi 2021-03-24 21:48:11 +01:00 committed by Zaiming (Stone) Shi
parent f363bea960
commit e862ff6b20
1 changed files with 2 additions and 1 deletions

View File

@ -933,10 +933,11 @@ end}.
]}.
%% @doc Max number of QoS 1 and 2 messages that can be “inflight” at one time.
%% 0 means no limit
%% 0 is equivalent to maximum allowed
{mapping, "zone.$name.max_inflight", "emqx.zones", [
{default, 0},
{datatype, integer}
{validators, ["range:1-32767"]},
]}.
%% @doc Retry interval for redelivering QoS1/2 messages.