Add migration to clean up old expiring messages
Expiring messages received before 0.31.0 may not have an expires_at time populated. Loading these messages once will update their expires_at if it wasn't already set. To avoid loading too many messages into memory, add them individually, and remove them from the collection as soon as they are added, allowing them to be garbage collected immediately. // FREEBIEpull/749/head
parent
25ee61d3cb
commit
58d2f71e09
Loading…
Reference in New Issue