summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2017-12-07 20:17:48 -0800
committerMichael Klishin <michael@clojurewerkz.org>2017-12-07 22:41:22 -0800
commitb1a4874722c7f53010856eb3653ad4724e23f454 (patch)
tree7a22bb04dcaeefffe01db3da3f170beaac172c49 /priv
parentce6c81257753117c8c8653984a7c41bd29546ca4 (diff)
downloadrabbitmq-server-git-b1a4874722c7f53010856eb3653ad4724e23f454.tar.gz
Add config schema entry for total_memory_available_override_valuev3.7.1-beta.1
Closes #1445. [#153501620] (cherry picked from commit 314f68b56fb93333e392c5e49b0745f5a83f03ad)
Diffstat (limited to 'priv')
-rw-r--r--priv/schema/rabbit.schema5
1 files changed, 5 insertions, 0 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema
index 9a0d54a2ad..740eede99f 100644
--- a/priv/schema/rabbit.schema
+++ b/priv/schema/rabbit.schema
@@ -713,6 +713,11 @@ end}.
{mapping, "vm_memory_calculation_strategy", "rabbit.vm_memory_calculation_strategy",
[{datatype, {enum, [rss, erlang, allocated, legacy]}}]}.
+%% The total memory available can be calculated from the OS resources
+%% (default option) or provided as a configuration parameter
+{mapping, "total_memory_available_override_value", "rabbit.total_memory_available_override_value", [
+ {datatype, [integer, string]}]}.
+
%% Set disk free limit (in bytes). Once free disk space reaches this
%% lower bound, a disk alarm will be set - see the documentation
%% listed above for more details.