mirror of
https://github.com/element-hq/synapse
synced 2024-09-01 11:00:20 +00:00
Fix comment
This commit is contained in:
parent
e316bbb4c0
commit
95e4cffd85
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue