From 38726a5510361d024bcc2d546f8d25e4e33f8cfc Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 10 Dec 2018 22:54:18 +0100 Subject: [PATCH] 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. --- include/pubsub.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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