Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit b221c0d

Browse files
committed
Fix TODO comment regarding E2E AS reliability (catch-up)
1 parent 7152b45 commit b221c0d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

synapse/storage/databases/main/appservice.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,9 @@ def _get_oldest_unsent_txn(txn):
359359

360360
events = await self.get_events_as_list(event_ids)
361361

362-
# TODO: should we recalculate one-time key counts and unused fallback
363-
# key counts here?
362+
# TODO: to-device messages, one-time key counts and unused fallback keys
363+
# are not yet populated for catch-up transactions.
364+
# We likely want to populate those for reliability.
364365
return AppServiceTransaction(
365366
service=service,
366367
id=entry["txn_id"],

0 commit comments

Comments
 (0)