diff options
| author | Gerhard Lazu <gerhard@lazu.co.uk> | 2019-04-23 16:08:01 +0100 |
|---|---|---|
| committer | Gerhard Lazu <gerhard@lazu.co.uk> | 2019-04-23 16:15:37 +0100 |
| commit | 28fd4874086595af0d4e31486f531388c07490f0 (patch) | |
| tree | c04b36480b0630ab8f1eec160297b1b41d5d007f /priv/schema | |
| parent | 9d898823c30ff0e56d97053764b2708a299c46eb (diff) | |
| download | rabbitmq-server-git-28fd4874086595af0d4e31486f531388c07490f0.tar.gz | |
Clarify unit symbols
RabbitMQ supports both power of 2 & power of 10 unit symbols. Giving
clear examples of the difference - it's a mistake easy to make.
Diffstat (limited to 'priv/schema')
| -rw-r--r-- | priv/schema/rabbit.schema | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema index 4ca95cc536..c7171ce74a 100644 --- a/priv/schema/rabbit.schema +++ b/priv/schema/rabbit.schema @@ -668,15 +668,18 @@ end}. %% %% {vm_memory_high_watermark, {absolute, 1073741824}}, %% -%% Or you can set absolute value using memory units (with RabbitMQ 3.6.0+). +%% Or you can set absolute value using memory unit symbols (with RabbitMQ 3.6.0+). %% %% {vm_memory_high_watermark, {absolute, "1024M"}}, %% -%% Supported units suffixes: +%% Supported unit symbols: %% -%% kb, KB: kibibytes (2^10 bytes) -%% mb, MB: mebibytes (2^20) -%% gb, GB: gibibytes (2^30) +%% k, kiB: kibibytes (2^10 - 1,024 bytes) +%% M, MiB: mebibytes (2^20 - 1,048,576 bytes) +%% G, GiB: gibibytes (2^30 - 1,073,741,824 bytes) +%% kB: kilobytes (10^3 - 1,000 bytes) +%% MB: megabytes (10^6 - 1,000,000 bytes) +%% GB: gigabytes (10^9 - 1,000,000,000 bytes) {mapping, "vm_memory_high_watermark.relative", "rabbit.vm_memory_high_watermark", [ {datatype, float}]}. |
