aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_motd.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-01-03 17:25:43 +0100
committerKim Alvefur <zash@zash.se>2019-01-03 17:25:43 +0100
commite4087a66e42e86ea4aae8d6cba1bc7dbb66ecb87 (patch)
treea8c3adc7e259cb162104b246b7e5643d2abd5850 /plugins/mod_motd.lua
parenta8d08ff3ba20bd2a64d8f59930019d460488c6e5 (diff)
downloadprosody-e4087a66e42e86ea4aae8d6cba1bc7dbb66ecb87.tar.gz
prosody-e4087a66e42e86ea4aae8d6cba1bc7dbb66ecb87.zip
mod_mam: Perform message expiry based on building an index by date
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_motd.lua')
0 files changed, 0 insertions, 0 deletions