Mercurial > prosody-modules
changeset 6512:f6c83a8425f2
mod_storage_xmlarchive: Set explicit values for stream parser
Wouldn't count on this defaulting to 1MB forever, the default s2s limit
seems more sane.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 07 Apr 2026 21:09:00 +0200 |
| parents | fe8738747d91 |
| children | 5fb466693e85 |
| files | mod_storage_xmlarchive/mod_storage_xmlarchive.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Tue Apr 07 17:57:28 2026 +0100 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Tue Apr 07 21:09:00 2026 +0200 @@ -196,7 +196,7 @@ local stream_session = { notopen = true }; local stream_callbacks = { handlestanza = cb, stream_ns = "jabber:client", default_ns = "jabber:client" }; - local stream = new_stream(stream_session, stream_callbacks); + local stream = new_stream(stream_session, stream_callbacks, 512*1024); local dates = self:dates(username) or empty; local function reset_stream() stream:reset();
