diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-15 18:10:54 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-16 11:24:32 +0100 |
commit | a2427981b798eb157d48b4e695a0d025357a2b01 (patch) | |
tree | 76f6d76db0c545244beece10e0ef006b44861189 /synapse/storage | |
parent | Refactor user_delete_access_tokens. Invalidate get_user_by_access_token to sl... (diff) | |
download | synapse-a2427981b798eb157d48b4e695a0d025357a2b01.tar.xz |
Use cached get_user_by_access_token in slaves
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/_base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index b0923a9cad..0a2e78fd81 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -880,6 +880,7 @@ class SQLBaseStore(object): ctx = self._cache_id_gen.get_next() stream_id = ctx.__enter__() txn.call_after(ctx.__exit__, None, None, None) + txn.call_after(self.hs.get_notifier().on_new_replication_data) self._simple_insert_txn( txn, |