0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 07:43:43 +01:00
dendrite/userapi/consumers
Neil Alexander 5592322e13
Clean old notifications regularly (#2244)
* Clean old notifications regularly

We'll keep highlights for a month and non-highlights for a day, to stop the `userapi_notifications` table from growing indefinitely.

We'll also allow storing events even if no pushers are present, because apparently Element Web expects to work that way.

* Fix the milliseconds

* Use process context

* Update sytest lists

* Fix build issue
2022-03-03 16:45:06 +00:00
..
syncapi_readupdate.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
syncapi_streamevent.go Clean old notifications regularly (#2244) 2022-03-03 16:45:06 +00:00