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
1 changed files with 1 additions and 1 deletions

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