Mercurial > prosody-hg
comparison core/modulemanager.lua @ 9751:39ee70fbb009
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.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 03 Jan 2019 17:25:43 +0100 |
| parents | 732314eb3258 |
| children | 984f27e4b8a3 7777f25d5266 |
comparison
equal
deleted
inserted
replaced
| 9750:65432dc80d90 | 9751:39ee70fbb009 |
|---|
