aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_saslauth.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-03-22 17:32:56 +0100
committerKim Alvefur <zash@zash.se>2019-03-22 17:32:56 +0100
commit63edbfd83c70ba630ef57153cb8665c80cd53fd7 (patch)
tree5e9e20f37ac12f136ff5d2fb151902a04d0ec8f3 /plugins/mod_saslauth.lua
parentfeb226825d1fc7d8f26d68011716f72bf8ff438a (diff)
downloadprosody-63edbfd83c70ba630ef57153cb8665c80cd53fd7.tar.gz
prosody-63edbfd83c70ba630ef57153cb8665c80cd53fd7.zip
mod_mam: Perform message expiry based on building an index by date (backport of 39ee70fbb009 from trunk)
For each day, store a set of users that have new messages. To expire messages, we collect the union of sets of users from dates that fall outside the cleanup range. The previous algoritm did not work well with many users, especially with the default settings.
Diffstat (limited to 'plugins/mod_saslauth.lua')
0 files changed, 0 insertions, 0 deletions