summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-25 14:13:47 +0100
committerErik Johnston <erik@matrix.org>2015-06-25 14:13:47 +0100
commit584a1c0dcac55ea3ec00871402ffaaedb4ebf9d3 (patch)
treea212fb42ab99db6073798477b08f87c94c96bf9d /synapse/storage
parentDon't parallelise persist_events (diff)
downloadsynapse-584a1c0dcac55ea3ec00871402ffaaedb4ebf9d3.tar.xz
Parallelise key storage
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 064490ae18..cbbe494386 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -78,7 +78,7 @@ class EventsStore(SQLBaseStore):
 
             for chunk in chunks:
                 # We can't easily parallelize these since different chunks
-                # might contain the same event. :()
+                # might contain the same event. :(
                 yield self.runInteraction(
                     "persist_events",
                     self._persist_events_txn,