aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_debug_stanzas/watcher.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-03-23 15:25:22 +0000
committerMatthew Wild <mwild1@gmail.com>2022-03-23 15:25:22 +0000
commit259df23ffb16efde4653a33557c95c3f045f15d4 (patch)
tree8ed92f28127242818c07c21ac152441ef460bff0 /plugins/mod_debug_stanzas/watcher.lib.lua
parented83c98f101fe5a9283aeae169a138118dd6a358 (diff)
downloadprosody-259df23ffb16efde4653a33557c95c3f045f15d4.tar.gz
prosody-259df23ffb16efde4653a33557c95c3f045f15d4.zip
mod_s2s: Store real stanzas in session.sendq, rather than strings
This is the "right" thing to do. Strings were more memory-efficient, but e.g. bypassed stanza filters at reconnection time. Also not being stanzas prevents us from potential future work, such as merging sendq with mod_smacks. Regarding performance: we should counter the probable negative effect of this change with other positive changes that are desired anyway - e.g. a limit on the size of the sendq, improved in-memory representation of stanzas, s2s backoff (e.g. if a remote server is persistently unreachable, cache this failure for a while and don't just keep forever queuing stanzas for it).
Diffstat (limited to 'plugins/mod_debug_stanzas/watcher.lib.lua')
0 files changed, 0 insertions, 0 deletions