Skip to content

Commit 4c602b7

Browse files
committed
Add validator for non negative integer
A value of 0 means overload protection is disabled. A negative value doesn't really make sense.
1 parent d72ff92 commit 4c602b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_mqtt/priv/schema/rabbitmq_mqtt.schema

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,4 @@ end}.
283283
%%
284284
%% {mailbox_soft_limit, 30},
285285
{mapping, "mqtt.mailbox_soft_limit", "rabbitmq_mqtt.mailbox_soft_limit",
286-
[{datatype, integer}]}.
286+
[{datatype, integer}, {validators, ["non_negative_integer"]}]}.

0 commit comments

Comments
 (0)