dendrite/userapi/storage
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
..
postgres Clean old notifications regularly (#2244) 2022-03-03 16:45:06 +00:00
shared Clean old notifications regularly (#2244) 2022-03-03 16:45:06 +00:00
sqlite3 Clean old notifications regularly (#2244) 2022-03-03 16:45:06 +00:00
tables Clean old notifications regularly (#2244) 2022-03-03 16:45:06 +00:00
interface.go Clean old notifications regularly (#2244) 2022-03-03 16:45:06 +00:00
storage_wasm.go Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
storage.go Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00