mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 17:32:43 +00:00
Fix comment
This commit is contained in:
1 parent
e316bbb4c0
commit
95e4cffd85
2 files changed
+2
-2
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user