diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-14 20:00:45 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-14 20:00:45 +0100 |
commit | 6e0bbc2af5f1213df15e988ea176c7f398c9fdf3 (patch) | |
tree | 4ab2c6874868cf59650074de35b3ccbd87aa0c57 /plugins/muc/name.lib.lua | |
parent | 93a9ed262065d9966643ad5ae50b58142a1c6823 (diff) | |
download | prosody-6e0bbc2af5f1213df15e988ea176c7f398c9fdf3.tar.gz prosody-6e0bbc2af5f1213df15e988ea176c7f398c9fdf3.zip |
mod_smacks: Limit queue memory consumption using new util
This brings back the queue size limit that was once added, then removed
because destroying the session when reaching the limit was not great.
Instead, the queue wraps and overwrites the oldest unacked stanza on the
assumption that it will probably be acked anyway and thus does not need
to be delivered. If those discarded stanzas turn out to be needed on
resumption then the resumption fails.
Diffstat (limited to 'plugins/muc/name.lib.lua')
0 files changed, 0 insertions, 0 deletions