mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-31 15:21:38 +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:
parent
114cc8c093
commit
38726a5510
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user