Erik Johnston
ab414f2ab8
Use event_auth table to get previous membership
2024-08-28 14:23:32 +01:00
Erik Johnston
bb905cd02c
Only run the sliding sync background updates on the main database
2024-08-28 11:44:56 +01:00
Eric Eastwood
da463fb102
Add unique index right away for sliding_sync_joined_rooms_to_recalculate
...
This makes it so we can always `upsert` to avoid duplicates otherwise
I'm not sure of how to not insert duplicates in certain situations
(see FIXME in the diff) which would cause problems down the line
for the unique index being added later.
2024-08-28 00:50:33 -05:00
Eric Eastwood
8468401a97
Adapt to using sliding_sync_joined_rooms_to_recalculate
table
2024-08-28 00:42:14 -05:00
Eric Eastwood
56a4c0ba6e
Round out tests
2024-08-27 19:34:16 -05:00
Eric Eastwood
85a60c3132
More tests
2024-08-27 19:27:24 -05:00
Eric Eastwood
e5e7269998
Add more tests
2024-08-27 18:49:53 -05:00
Eric Eastwood
c8e17f7479
Add test when no rooms
2024-08-27 18:21:25 -05:00
Eric Eastwood
4dc9e268e6
Add test for catch-up background update
2024-08-27 18:08:17 -05:00
Eric Eastwood
7a0c281028
Add placeholder tests
2024-08-26 19:43:52 -05:00
Eric Eastwood
addb91485f
Split test cases
2024-08-26 16:11:56 -05:00
Eric Eastwood
44432e2118
Move tests to dedicated file
...
See https://github.com/element-hq/synapse/pull/17512#discussion_r1726849798
2024-08-22 16:56:09 -05:00