diff options
author | Erik Johnston <erik@matrix.org> | 2017-01-31 16:09:03 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-01-31 16:09:03 +0000 |
commit | 458b6f473314a81d7e671fc2fc8c30d3259924c4 (patch) | |
tree | 869e9502a78ceb90a77338b96ddcd2e64b68296e /synapse/replication/resource.py | |
parent | Merge pull request #1864 from matrix-org/erikj/device_list_fixes (diff) | |
download | synapse-458b6f473314a81d7e671fc2fc8c30d3259924c4.tar.xz |
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.
Diffstat (limited to 'synapse/replication/resource.py')
-rw-r--r-- | synapse/replication/resource.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/replication/resource.py b/synapse/replication/resource.py index a30e647474..d8eb14592b 100644 --- a/synapse/replication/resource.py +++ b/synapse/replication/resource.py @@ -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): |