0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-07-10 23:18:38 +02:00
dendrite/federationapi/storage
Till 240ae257de
Add housekeeping function to delete old/expired EDUs (#2399)
* Add housekeeping function to delete old/expired EDUs

* Add migrations

* Evict EDUs from cache

* Fix queries

* Fix upgrade

* Use map[string]time.Duration to specify different expiry times

* Fix copy & paste mistake

* Set expires_at to tomorrow

* Don't allow NULL

* Add comment

* Add tests

* Use new testrig package

* Fix migrations

* Never expire m.direct_to_device

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Co-authored-by: kegsay <kegan@matrix.org>
2022-08-09 11:15:58 +02:00
..
cache Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
postgres Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
shared Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
sqlite3 Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
tables Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
interface.go Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
storage.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00
storage_test.go Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
storage_wasm.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00