mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-22 02:05:24 +00:00
Update synapse/storage/data_stores/main/events_bg_updates.py
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
6d360f099f
commit
dad8d68c99
@ -511,7 +511,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
|
|||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _event_store_labels(self, progress, batch_size):
|
def _event_store_labels(self, progress, batch_size):
|
||||||
"""Stores labels for events."""
|
"""Background update handler which will store labels for existing events."""
|
||||||
last_event_id = progress.get("last_event_id", "")
|
last_event_id = progress.get("last_event_id", "")
|
||||||
|
|
||||||
def _event_store_labels_txn(txn):
|
def _event_store_labels_txn(txn):
|
||||||
|
Loading…
Reference in New Issue
Block a user