diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 2a1f90c4..86a6b622 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -268,6 +268,9 @@ -define(CHANNEL_OPERATION_TIMEOUT, rabbit_misc:get_channel_operation_timeout()). +%% Max supported number of priorities for a priority queue. +-define(MAX_SUPPORTED_PRIORITY, 255). + %% Trying to send a term across a cluster larger than 2^31 bytes will %% cause the VM to exit with "Absurdly large distribution output data %% buffer". So we limit the max message size to 2^31 - 10^6 bytes (1MB