diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-12-10 22:54:18 +0100 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-12-10 22:54:18 +0100 |
commit | 38726a5510361d024bcc2d546f8d25e4e33f8cfc (patch) | |
tree | 9d187df398f031d90fdf040c2bf27e82fe49eda3 /include/pubsub.hrl | |
parent | Bump xmpp version (diff) |
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.
Diffstat (limited to 'include/pubsub.hrl')
-rw-r--r-- | include/pubsub.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pubsub.hrl b/include/pubsub.hrl index 923f5f5a..7a72c695 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 |