summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-01 16:26:51 +0000
committerErik Johnston <erik@matrix.org>2016-02-01 16:26:51 +0000
commit4bf448be254808c83aeb5ae28e601752664bc9e2 (patch)
tree238c91620cf821ed66c3f0c060d2a44734c14bd7 /synapse/storage/stream.py
parentMerge pull request #543 from matrix-org/erikj/sync (diff)
downloadsynapse-4bf448be254808c83aeb5ae28e601752664bc9e2.tar.xz
Switch over /events to use per room caches
Diffstat (limited to '')
-rw-r--r--synapse/storage/stream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index 8dc8f5c640..fd84aa8996 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -39,7 +39,6 @@ from ._base import SQLBaseStore
 from synapse.util.caches.descriptors import cachedInlineCallbacks
 from synapse.api.constants import EventTypes
 from synapse.types import RoomStreamToken
-from synapse.util.logutils import log_function
 
 import logging
 
@@ -288,11 +287,12 @@ class StreamStore(SQLBaseStore):
                 get_prev_content=True
             )
 
+            self._set_before_and_after(ret, rows, topo_order=False)
+
             return ret
 
         return self.runInteraction("get_room_changes_for_user", f)
 
-    @log_function
     def get_room_events_stream(
         self,
         user_id,