summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkjnilsson <knilsson@pivotal.io>2019-11-14 16:06:57 +0000
committerkjnilsson <knilsson@pivotal.io>2019-11-14 16:06:57 +0000
commit690062880407112e5c373c52f55e502d406cff82 (patch)
tree35524afd3e89cb7f88dea16860122f3b99701b68
parent2b3c42ef2ab91af851935eb55baebcab973a5203 (diff)
downloadrabbitmq-server-git-690062880407112e5c373c52f55e502d406cff82.tar.gz
Add consumer_timeout to config schema
-rw-r--r--priv/schema/rabbit.schema8
1 files changed, 8 insertions, 0 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema
index 8db2ebf3ff..d56c58defb 100644
--- a/priv/schema/rabbit.schema
+++ b/priv/schema/rabbit.schema
@@ -1068,6 +1068,14 @@ end}.
{mapping, "vhost_restart_strategy", "rabbit.vhost_restart_strategy",
[{datatype, {enum, [stop_node, continue, transient, persistent]}}]}.
+%% Approximate maximum time a consumer can spend processing a message before
+%% the channel is terminated, in milliseconds.
+%% {consumer_timeout, 10000},
+
+{mapping, "consumer_timeout", "rabbit.consumer_timeout", [
+ {datatype, integer}
+]}.
+
% ==========================
% Lager section
% ==========================