diff options
| author | Michael Klishin <michael@novemberain.com> | 2019-04-23 18:45:35 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-23 18:45:35 +0300 |
| commit | 314b6448caef8bdba88ec9f922b02d502aa516a2 (patch) | |
| tree | c04b36480b0630ab8f1eec160297b1b41d5d007f /priv | |
| parent | fa998503fac0fe2682c9a3e40545511062a0f71c (diff) | |
| parent | 28fd4874086595af0d4e31486f531388c07490f0 (diff) | |
| download | rabbitmq-server-git-314b6448caef8bdba88ec9f922b02d502aa516a2.tar.gz | |
Merge pull request #1987 from rabbitmq/clarify_si_unit_symbols
Clarify unit symbols
Diffstat (limited to 'priv')
| -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}]}. |
