dendrite/federationapi/storage
Winter a379d3e814
De-race TestExpireEDUs (#2654)
In some conditions (fast CPUs), this test would race the clock for EDU expiration when all we want to make sure of is that the expired EDUs are properly deleted. Given this, we set the expiry time to 0 so the specified EDUs are always deleted when DeleteExpiredEDUs is called.
Fixes #2650.

Signed-off-by: Winter <winter@winter.cafe>
2022-08-19 07:28:33 +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 Actually store EDUs once we retrieved from the database (#2651) 2022-08-18 11:14:42 +01: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_test.go De-race TestExpireEDUs (#2654) 2022-08-19 07:28:33 +02:00
storage_wasm.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00
storage.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00