0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-26 20:13:41 +01:00
dendrite/federationapi/storage/postgres
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
..
deltas Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
blacklist_table.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
inbound_peeks_table.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
joined_hosts_table.go Remove debug logging 2022-05-17 13:31:48 +01:00
notary_server_keys_json_table.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
notary_server_keys_metadata_table.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
outbound_peeks_table.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
queue_edus_table.go Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
queue_json_table.go Add missing indexes to federation API destination queues (#2502) 2022-05-30 11:01:20 +01:00
queue_pdus_table.go Add missing indexes to federation API destination queues (#2502) 2022-05-30 11:01:20 +01:00
server_key_table.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
storage.go Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00