aboutsummaryrefslogtreecommitdiffstats
path: root/util/throttle.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-30 15:16:56 +0200
committerKim Alvefur <zash@zash.se>2019-05-30 15:16:56 +0200
commit71bdfa72d8ce993ede0ac595c8e78404758e3546 (patch)
tree7b49c4a49a6e2872a395bd4d269238c15b2f337c /util/throttle.lua
parent41c625f6a9cc611342a7a964888952c08e9201c6 (diff)
downloadprosody-71bdfa72d8ce993ede0ac595c8e78404758e3546.tar.gz
prosody-71bdfa72d8ce993ede0ac595c8e78404758e3546.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 'util/throttle.lua')
0 files changed, 0 insertions, 0 deletions