diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-08-03 11:22:22 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-08-03 11:22:22 +0100 |
commit | 1678057b56a82467c25259d4727a69097dad0ea3 (patch) | |
tree | 1659a57559aecc766616a3d00c6c15972382037d /synapse/replication | |
parent | Fix cache name (diff) | |
download | synapse-1678057b56a82467c25259d4727a69097dad0ea3.tar.xz |
Back out the database hack and replace it with a temporary config setting
Diffstat (limited to 'synapse/replication')
-rw-r--r-- | synapse/replication/slave/storage/push_rule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/push_rule.py b/synapse/replication/slave/storage/push_rule.py index 6bebd4d5c1..23ec1c5b11 100644 --- a/synapse/replication/slave/storage/push_rule.py +++ b/synapse/replication/slave/storage/push_rule.py @@ -34,7 +34,7 @@ class SlavedPushRuleStore(SlavedEventStore, PushRulesWorkerStore): if stream_name == PushRulesStream.NAME: self._push_rules_stream_id_gen.advance(token) for row in rows: - self._get_push_rules_for_user.invalidate((row.user_id,)) + self.get_push_rules_for_user.invalidate((row.user_id,)) self.get_push_rules_enabled_for_user.invalidate((row.user_id,)) self.push_rules_stream_cache.entity_has_changed(row.user_id, token) return super().process_replication_rows(stream_name, instance_name, token, rows) |