Fix comment

This commit is contained in:
Erik Johnston 2018-02-20 17:58:40 +00:00
parent e316bbb4c0
commit 95e4cffd85
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ from synapse.storage.receipts import ReceiptsWorkerStore
class SlavedReceiptsStore(ReceiptsWorkerStore, BaseSlavedStore):
def __init__(self, db_conn, hs):
# We instansiate this first as the ReceiptsWorkerStore constructor
# We instantiate this first as the ReceiptsWorkerStore constructor
# needs to be able to call get_max_receipt_stream_id
self._receipts_id_gen = SlavedIdTracker(
db_conn, "receipts_linearized", "stream_id"

View File

@ -295,7 +295,7 @@ class ReceiptsWorkerStore(SQLBaseStore):
class ReceiptsStore(ReceiptsWorkerStore):
def __init__(self, db_conn, hs):
# We instansiate this first as the ReceiptsWorkerStore constructor
# We instantiate this first as the ReceiptsWorkerStore constructor
# needs to be able to call get_max_receipt_stream_id
self._receipts_id_gen = StreamIdGenerator(
db_conn, "receipts_linearized", "stream_id"