diff options
author | Kim Alvefur <zash@zash.se> | 2019-01-03 17:25:43 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-01-03 17:25:43 +0100 |
commit | c68690726162f0ab0efb62f1cb455001c06b0fa7 (patch) | |
tree | a8c3adc7e259cb162104b246b7e5643d2abd5850 /spec/util_dataforms_spec.lua | |
parent | a89dd30b7e9e04e3b4fb89efc45245970353608f (diff) | |
download | prosody-c68690726162f0ab0efb62f1cb455001c06b0fa7.tar.gz prosody-c68690726162f0ab0efb62f1cb455001c06b0fa7.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 'spec/util_dataforms_spec.lua')
0 files changed, 0 insertions, 0 deletions