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

Commit 4421a0e

Browse files
committed
Sensible var name
1 parent 9edec7e commit 4421a0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapse/storage/databases/main/event_push_actions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ def _handle_new_receipts_for_notifs_txn(self, txn: LoggingTransaction) -> bool:
854854

855855
limit = 100
856856

857-
min_stream_id = self.db_pool.simple_select_one_onecol_txn(
857+
min_receipts_stream_id = self.db_pool.simple_select_one_onecol_txn(
858858
txn,
859859
table="event_push_summary_last_receipt_stream_id",
860860
keyvalues={},
@@ -879,7 +879,7 @@ def _handle_new_receipts_for_notifs_txn(self, txn: LoggingTransaction) -> bool:
879879
txn.execute(
880880
sql,
881881
(
882-
min_stream_id,
882+
min_receipts_stream_id,
883883
max_receipts_stream_id,
884884
user_filter,
885885
limit,

0 commit comments

Comments
 (0)