Use cached get_user_by_access_token in slaves

This commit is contained in:
Erik Johnston 2016-08-15 18:10:54 +01:00
parent dc3a00f24f
commit a2427981b7
3 changed files with 3 additions and 2 deletions

View file

@ -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,