diff options
author | Erik Johnston <erik@matrix.org> | 2018-04-11 11:07:51 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-04-11 12:13:40 +0100 |
commit | 92e34615c5c9ed5df2b0072a2686d3e42239e420 (patch) | |
tree | 53fe39bfa8245da8fa1e73690ac18a4fab9c28e7 /synapse/federation/transaction_queue.py | |
parent | Add GaugeMetric (diff) | |
download | synapse-92e34615c5c9ed5df2b0072a2686d3e42239e420.tar.xz |
Track where event stream processing have gotten up to
Diffstat (limited to 'synapse/federation/transaction_queue.py')
-rw-r--r-- | synapse/federation/transaction_queue.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py index 5b0b798e57..d68f0d8950 100644 --- a/synapse/federation/transaction_queue.py +++ b/synapse/federation/transaction_queue.py @@ -239,6 +239,10 @@ class TransactionQueue(object): "events", next_token ) + synapse.metrics.event_processing_positions.set( + next_token, "federation_sender", + ) + finally: self._is_processing = False |