diff options
author | Kim Alvefur <zash@zash.se> | 2019-05-30 15:16:56 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-05-30 15:16:56 +0200 |
commit | c0263dfb30f2a59c096a0ae70664a219d3a756c4 (patch) | |
tree | 7b49c4a49a6e2872a395bd4d269238c15b2f337c /plugins/mod_presence.lua | |
parent | c44c195f9860f20566a8a76950958fc1ee3451f2 (diff) | |
download | prosody-c0263dfb30f2a59c096a0ae70664a219d3a756c4.tar.gz prosody-c0263dfb30f2a59c096a0ae70664a219d3a756c4.zip |
mod_pep: Handle presence based subscription outside of util.pubsub (fixes #1372)
Subscriptions were updated for each incoming presence stanza from
contacts. Each subscription change triggered a configuration save, which
would filter out the presence based subscriptions and usually end up
replacing the existing data with identical data. With many subscribed
nodes this adds up to a fair bit of IO bound work that is avoided by
keeping them separate.
Diffstat (limited to 'plugins/mod_presence.lua')
0 files changed, 0 insertions, 0 deletions