diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2017-03-15 13:07:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-15 13:07:50 +0000 |
commit | 5f14e7e9820c024cdf1b55337eeb1bdb05e557f8 (patch) | |
tree | 9fb244c8c00d9d01cd0856f0efc028caf53f4688 /synapse/federation | |
parent | Merge pull request #2008 from matrix-org/erikj/notifier_stats (diff) | |
parent | Fix assertion to stop transaction queue getting wedged (diff) | |
download | synapse-5f14e7e9820c024cdf1b55337eeb1bdb05e557f8.tar.xz |
Merge pull request #2010 from matrix-org/rav/fix_txnq_wedge
Fix assertion to stop transaction queue getting wedged
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/transaction_queue.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py index 90235ff098..c802dd67a3 100644 --- a/synapse/federation/transaction_queue.py +++ b/synapse/federation/transaction_queue.py @@ -99,7 +99,12 @@ class TransactionQueue(object): # destination -> list of tuple(failure, deferred) self.pending_failures_by_dest = {} + # destination -> stream_id of last successfully sent to-device message. + # NB: may be a long or an int. self.last_device_stream_id_by_dest = {} + + # destination -> stream_id of last successfully sent device list + # update. self.last_device_list_stream_id_by_dest = {} # HACK to get unique tx id |