summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-13 11:13:31 +0100
committerErik Johnston <erik@matrix.org>2015-05-13 11:13:31 +0100
commit409bcc76bdbdb5410d755b1eded370491641976f (patch)
treea6f07fc5119a95f228e406a4108531f4fc037079 /synapse/storage/_base.py
parentDon't talk to yourself when backfilling (diff)
downloadsynapse-409bcc76bdbdb5410d755b1eded370491641976f.tar.xz
Load events for state group seperately
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index c9fe5a3555..0279400a83 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -867,9 +867,9 @@ class SQLBaseStore(object):
         return self.runInteraction("_simple_max_id", func)
 
     def _get_events(self, event_ids, check_redacted=True,
-                    get_prev_content=False):
+                    get_prev_content=False, desc="_get_events"):
         return self.runInteraction(
-            "_get_events", self._get_events_txn, event_ids,
+            desc, self._get_events_txn, event_ids,
             check_redacted=check_redacted, get_prev_content=get_prev_content,
         )