dendrite/userapi/storage/postgres
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
..
deltas
account_data_table.go Refactor user API storage (#2202) 2022-02-18 13:51:59 +00:00
accounts_table.go Refactor user API storage (#2202) 2022-02-18 13:51:59 +00:00
devices_table.go Refactor user API storage (#2202) 2022-02-18 13:51:59 +00:00
key_backup_table.go Refactor user API storage (#2202) 2022-02-18 13:51:59 +00:00
key_backup_version_table.go Refactor user API storage (#2202) 2022-02-18 13:51:59 +00:00
logintoken_table.go Refactor user API storage (#2202) 2022-02-18 13:51:59 +00:00
notifications_table.go Clean old notifications regularly (#2244) 2022-03-03 16:45:06 +00:00
openid_table.go Refactor user API storage (#2202) 2022-02-18 13:51:59 +00:00
profile_table.go Refactor user API storage (#2202) 2022-02-18 13:51:59 +00:00
pusher_table.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
storage.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
threepid_table.go Refactor user API storage (#2202) 2022-02-18 13:51:59 +00:00