summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim Watson <watson.timothy@gmail.com>2014-04-11 15:51:15 +0100
committerTim Watson <watson.timothy@gmail.com>2014-04-11 15:51:15 +0100
commit40323d836174c45509c17d7be3b2520f6e3f2647 (patch)
treeeedf6f6a9467932a0d880240171fd8575aca0b9b /include
parentc445d12b23c7641d6d40fd0673db37101f2620d1 (diff)
parent83046f8b0054c38f5a8d842fd270115bcc333f60 (diff)
downloadrabbitmq-server-git-40323d836174c45509c17d7be3b2520f6e3f2647.tar.gz
Merge default into bug24926
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 078f1c6e08..12b7a07b35 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -86,7 +86,7 @@
%%----------------------------------------------------------------------------
--define(COPYRIGHT_MESSAGE, "Copyright (C) 2007-2013 GoPivotal, Inc.").
+-define(COPYRIGHT_MESSAGE, "Copyright (C) 2007-2014 GoPivotal, Inc.").
-define(INFORMATION_MESSAGE, "Licensed under the MPL. See http://www.rabbitmq.com/").
-define(ERTS_MINIMUM, "5.6.3").
@@ -119,4 +119,12 @@
%% wrapping the message body).
-define(MAX_MSG_SIZE, 2147383648).
+%% 1) Maximum size of printable lists and binaries.
+%% 2) Maximum size of any structural term.
+%% 3) Amount to decrease 1) every time we descend while truncating.
+%% 4) Amount to decrease 2) every time we descend while truncating.
+%%
+%% Whole thing feeds into truncate:log_event/2.
+-define(LOG_TRUNC, {2000, 100, 100, 7}).
+
-define(store_proc_name(N), rabbit_misc:store_proc_name(?MODULE, N)).