25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Increase MAX_PAYLOAD_SIZE for PubSub items

Some PubSub payloads (such as PEP avatars) can easily exceed the old
MAX_PAYLOAD_SIZE.  Use a higher limit, but stay below the default
max_stanza_size value.
This commit is contained in:
Holger Weiss 2018-12-10 22:54:18 +01:00
parent 114cc8c093
commit 38726a5510

View File

@ -27,7 +27,7 @@
%% this is currently a hard limit.
%% Would be nice to have it configurable.
-define(MAX_PAYLOAD_SIZE, 60000).
-define(MAX_PAYLOAD_SIZE, 250000).
%% -------------------------------
%% Pubsub types