Track where event stream processing have gotten up to

This commit is contained in:
Erik Johnston 2018-04-11 11:07:51 +01:00
parent ab825aa328
commit 92e34615c5
4 changed files with 24 additions and 0 deletions

View file

@ -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