summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bakken <lbakken@pivotal.io>2019-11-14 09:07:15 -0800
committerLuke Bakken <lbakken@pivotal.io>2019-11-14 09:07:15 -0800
commit556ecb0c35c65b12b98734196aa7d549d941dd4c (patch)
tree03929e3446f130cedc02ba4f258f2ebd39daf35c
parent660dd29fc05e9188d51156b5e6560ce5dd360e52 (diff)
downloadrabbitmq-server-git-556ecb0c35c65b12b98734196aa7d549d941dd4c.tar.gz
Add validator
-rw-r--r--priv/schema/rabbit.schema3
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema
index 793cee2144..e05623ae78 100644
--- a/priv/schema/rabbit.schema
+++ b/priv/schema/rabbit.schema
@@ -1074,7 +1074,8 @@ end}.
%% {consumer_timeout, 10000},
{mapping, "consumer_timeout", "rabbit.consumer_timeout", [
- {datatype, integer}
+ {datatype, integer},
+ {validators, ["non_zero_positive_integer"]}
]}.
% ==========================