aboutsummaryrefslogtreecommitdiffstats
path: root/fallbacks/bit.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
commit5c3633477b19bd47accb2d3e258619d69ee58963 (patch)
tree5e9e20f37ac12f136ff5d2fb151902a04d0ec8f3 /fallbacks/bit.lua
parentfffb4ee43d2ce3c0dd392f44eac53529688938ac (diff)
downloadprosody-5c3633477b19bd47accb2d3e258619d69ee58963.tar.gz
prosody-5c3633477b19bd47accb2d3e258619d69ee58963.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 'fallbacks/bit.lua')
0 files changed, 0 insertions, 0 deletions