summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-05-13 10:37:11 +0100
committerErik Johnston <erik@matrix.org>2020-05-13 13:38:51 +0100
commit00ba9c48bf1da6a3173fd77ed72d7d8295f4d051 (patch)
treed05fbbcd1b90ee9ba332e3d795861c50dc672764 /synapse/storage
parentShuffle persist event data store functions. (#7440) (diff)
downloadsynapse-00ba9c48bf1da6a3173fd77ed72d7d8295f4d051.tar.xz
Spelling
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/data_stores/__init__.py2
-rw-r--r--synapse/storage/data_stores/main/events.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/data_stores/__init__.py b/synapse/storage/data_stores/__init__.py
index 7c14ba91c2..791961b296 100644
--- a/synapse/storage/data_stores/__init__.py
+++ b/synapse/storage/data_stores/__init__.py
@@ -67,7 +67,7 @@ class DataStores(object):
                     self.main = main_store_class(database, db_conn, hs)
 
                     # If we're on a process that can persist events (currently
-                    # master), also instansiate a `PersistEventsStore`
+                    # master), also instantiate a `PersistEventsStore`
                     if hs.config.worker.worker_app is None:
                         self.persist_events = PersistEventsStore(
                             hs, database, self.main
diff --git a/synapse/storage/data_stores/main/events.py b/synapse/storage/data_stores/main/events.py
index 092739962b..a97f8b3934 100644
--- a/synapse/storage/data_stores/main/events.py
+++ b/synapse/storage/data_stores/main/events.py
@@ -118,7 +118,7 @@ class DeltaState:
 class PersistEventsStore:
     """Contains all the functions for writing events to the database.
 
-    Should only be instansiated on one process (when using a worker mode setup).
+    Should only be instantiated on one process (when using a worker mode setup).
 
     Note: This is not part of the `DataStore` mixin.
     """