aboutsummaryrefslogtreecommitdiff
path: root/src/mod_pubsub.erl
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2021-07-28 18:29:19 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2021-07-28 18:29:19 +0200
commitfce7fe8558b36478381f3c95a7cae16ce6dd4be9 (patch)
tree327439d923f22eb41311f8f554c72e2360ed6124 /src/mod_pubsub.erl
parentmod_push: Fix handling of MUC/Sub messages (diff)
PubSub: Bump default value for 'max_items' limit
Bump the default value for mod_pubsub's 'max_items_node' option, which hard-limits the 'max_items' value requested by clients. These days, use cases such as microblogging or XEP-0402 may need a large number of items per node. Bumping the limit makes sure such functionality is properly supported with the default configuration.
Diffstat (limited to '')
-rw-r--r--src/mod_pubsub.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl
index fecb35341..e64b73083 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 =>