summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@arasphere.net>2018-08-15 17:35:22 +0200
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-08-15 16:35:22 +0100
commit2f78f432c421702e3756d029b3c669db837d8bcd (patch)
treebcb12ffed5b880b24bbd82446a343504b92ed9b6 /synapse/storage/events.py
parentMerge pull request #3653 from matrix-org/erikj/split_federation (diff)
downloadsynapse-2f78f432c421702e3756d029b3c669db837d8bcd.tar.xz
speed up /members and add at= and membership params (#3568)
Diffstat (limited to 'synapse/storage/events.py')
-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 135af54fa9..025a7fb6d9 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -1911,7 +1911,7 @@ class EventsStore(EventFederationStore, EventsWorkerStore, BackgroundUpdateStore
         max_depth = max(row[0] for row in rows)
 
         if max_depth <= token.topological:
-            # We need to ensure we don't delete all the events from the datanase
+            # We need to ensure we don't delete all the events from the database
             # otherwise we wouldn't be able to send any events (due to not
             # having any backwards extremeties)
             raise SynapseError(