# HG changeset patch # User Kim Alvefur # Date 1775588940 -7200 # Node ID f6c83a8425f2c6aefa80aa800afe93683ef6766c # Parent fe8738747d91720c1bdd78533af162dac66dd6ec 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. diff -r fe8738747d91 -r f6c83a8425f2 mod_storage_xmlarchive/mod_storage_xmlarchive.lua --- 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();