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:
Brendan Abolivier 2019-11-07 17:01:53 +00:00 committed by GitHub
parent 6d360f099f
commit dad8d68c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -511,7 +511,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
@defer.inlineCallbacks
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", "")
def _event_store_labels_txn(txn):