aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/hashes.c
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 /util-src/hashes.c
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 'util-src/hashes.c')
0 files changed, 0 insertions, 0 deletions