From: Holger Weiss Date: Mon, 10 Dec 2018 21:54:18 +0000 (+0100) Subject: Increase MAX_PAYLOAD_SIZE for PubSub items X-Git-Tag: 19.02~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38726a5510361d024bcc2d546f8d25e4e33f8cfc;p=ejabberd 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. --- diff --git a/include/pubsub.hrl b/include/pubsub.hrl index 923f5f5a9..7a72c6955 100644 --- a/include/pubsub.hrl +++ b/include/pubsub.hrl @@ -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