dendrite/federationapi
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
..
api bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00
consumers Fix linter issues (#2624) 2022-08-05 11:12:41 +02:00
internal Fix using the remote provided event from /send_join (#2490) 2022-05-25 14:31:07 +01:00
inthttp Clean up interface definitions (#2427) 2022-05-06 12:39:26 +01:00
producers Hopefully fix read receipts timestamps (#2557) 2022-07-05 17:13:26 +01:00
queue Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
routing Fix linter issues (#2624) 2022-08-05 11:12:41 +02:00
statistics Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
storage Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
types Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
federationapi.go Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
federationapi_keys_test.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
federationapi_test.go Add race testing to tests, and fix a few small race conditions in the tests (#2587) 2022-08-05 09:19:33 +01:00