Skip to content
Snippets Groups Projects
Commit 00ba9c48 authored by Erik Johnston's avatar Erik Johnston
Browse files

Spelling

parent 782e4e64
Branches
Tags
No related merge requests found
...@@ -67,7 +67,7 @@ class DataStores(object): ...@@ -67,7 +67,7 @@ class DataStores(object):
self.main = main_store_class(database, db_conn, hs) self.main = main_store_class(database, db_conn, hs)
# If we're on a process that can persist events (currently # 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: if hs.config.worker.worker_app is None:
self.persist_events = PersistEventsStore( self.persist_events = PersistEventsStore(
hs, database, self.main hs, database, self.main
......
...@@ -118,7 +118,7 @@ class DeltaState: ...@@ -118,7 +118,7 @@ class DeltaState:
class PersistEventsStore: class PersistEventsStore:
"""Contains all the functions for writing events to the database. """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. Note: This is not part of the `DataStore` mixin.
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment