mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Only invalidate membership caches based on the cache stream
Before we completely invalidated get_users_in_room whenever we updated any current_state_events table. This was way too aggressive.
This commit is contained in:
parent
ac001dabdc
commit
458b6f4733
4 changed files with 5 additions and 41 deletions
|
@ -299,9 +299,6 @@ class ReplicationResource(Resource):
|
|||
"backward_ex_outliers", res.backward_ex_outliers,
|
||||
("position", "event_id", "state_group"),
|
||||
)
|
||||
writer.write_header_and_rows(
|
||||
"state_resets", res.state_resets, ("position",),
|
||||
)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def presence(self, writer, current_token, request_streams):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue