Skip to content

Commit

Permalink
Update synapse/storage/databases/main/deviceinbox.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Morgan <[email protected]>
  • Loading branch information
erikjohnston and anoadragon453 authored May 30, 2024
1 parent d24ed3b commit fe4dfcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/deviceinbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ def _cleanup_device_federation_outbox_txn(
},
)

return stop > max_stream_id
return stop >= max_stream_id

finished = await self.db_pool.runInteraction(
"_cleanup_device_federation_outbox",
Expand Down

0 comments on commit fe4dfcf

Please sign in to comment.