0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-14 22:11:47 +01:00
This commit is contained in:
Erik Johnston 2020-05-13 10:37:11 +01:00
parent 782e4e64df
commit 00ba9c48bf
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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.
"""