mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Merge pull request #3652 from weiss/bump-max-items
PubSub: Bump default value for 'max_items' limit
This commit is contained in:
commit
b173ec0a78
@ -23,7 +23,7 @@
|
|||||||
-define(ERR_EXTENDED(E, C), mod_pubsub:extended_error(E, C)).
|
-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
|
%% 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.
|
%% this is currently a hard limit.
|
||||||
%% Would be nice to have it configurable.
|
%% Would be nice to have it configurable.
|
||||||
|
@ -4396,7 +4396,7 @@ mod_doc() ->
|
|||||||
#{value => "non_neg_integer() | infinity",
|
#{value => "non_neg_integer() | infinity",
|
||||||
desc =>
|
desc =>
|
||||||
?T("Define the maximum number of items that can be "
|
?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,
|
{max_nodes_discoitems,
|
||||||
#{value => "pos_integer() | infinity",
|
#{value => "pos_integer() | infinity",
|
||||||
desc =>
|
desc =>
|
||||||
|
Loading…
Reference in New Issue
Block a user