summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pubsub.hrl2
-rw-r--r--src/mod_pubsub.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pubsub.hrl b/include/pubsub.hrl
index 8496b95a..da919e9e 100644
--- a/include/pubsub.hrl
+++ b/include/pubsub.hrl
@@ -23,7 +23,7 @@
-define(ERR_EXTENDED(E, C), mod_pubsub:extended_error(E, C)).
%% The actual limit can be configured with mod_pubsub's option max_items_node
--define(MAXITEMS, 10).
+-define(MAXITEMS, 1000).
%% this is currently a hard limit.
%% Would be nice to have it configurable.
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl
index fecb3534..e64b7308 100644
--- a/src/mod_pubsub.erl
+++ b/src/mod_pubsub.erl
@@ -4276,7 +4276,7 @@ mod_doc() ->
#{value => "MaxItems",
desc =>
?T("Define the maximum number of items that can be "
- "stored in a node. Default value is: '10'.")}},
+ "stored in a node. Default value is: '1000'.")}},
{max_nodes_discoitems,
#{value => "pos_integer() | infinity",
desc =>