summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Fedotov <hairyhum@gmail.com>2018-12-27 19:26:37 +0400
committerDaniil Fedotov <hairyhum@gmail.com>2018-12-27 19:26:37 +0400
commit03fc22ddd9d0b47fb735f36c4c5421a7baeb2ad9 (patch)
tree36c1b3c141f262ca6eb47bf6e90a3efb2590024c /Makefile
parent794ef8de24ec261d1f3217f0a1ccfae98c8c6873 (diff)
downloadrabbitmq-server-git-03fc22ddd9d0b47fb735f36c4c5421a7baeb2ad9.tar.gz
Introduce a configurable limit to message size.
Add `max_message_size` configuration to configure limit in bytes. If message is bigger - channel exception will be thrown. Default limit is 128MB. There is still a hard limit of 521MB. [#161983593]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e26f32d89f..094affc2df 100644
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,9 @@ define PROJECT_ENV
{vhost_restart_strategy, continue},
%% {global, prefetch count}
{default_consumer_prefetch, {false, 0}},
- {channel_queue_cleanup_interval, 60000}
+ {channel_queue_cleanup_interval, 60000},
+ %% Default max message size is 128 MB
+ {max_message_size, 134217728}
]
endef