| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Delete expired messages out of band. | Owen Jacobson | 2024-09-28 |
| | | | | | | | | | Trying to reliably do expiry mid-request was causing some anomalies: * Creating a channel with a dup name would fail, then succeed after listing channels. It was very hard to reason about which operations needed to trigger expiry, to fix this "correctly," so now expiry runs on every request. | ||
| * | Expire messages after 90 days. | Owen Jacobson | 2024-09-20 |
| This is intended to manage storage growth. A community with broadly steady traffic will now reach a steady state (ish) where the amount of storage in use stays within a steady band. The 90 day threshold is a spitball; this should be made configurable for the community's needs. I've also hoisted expiry out into the `app` classes, to reduce the amount of non-database work repo types are doing. This should make it easier to make expiry configurable later on. Includes incidental cleanup and style changes. | |||
