aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_ip_spec.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
commitc68690726162f0ab0efb62f1cb455001c06b0fa7 (patch)
treea8c3adc7e259cb162104b246b7e5643d2abd5850 /spec/util_ip_spec.lua
parenta89dd30b7e9e04e3b4fb89efc45245970353608f (diff)
downloadprosody-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_ip_spec.lua')
0 files changed, 0 insertions, 0 deletions