mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:44:52 -04:00
Track where event stream processing have gotten up to
This commit is contained in:
parent
ab825aa328
commit
92e34615c5
4 changed files with 24 additions and 0 deletions
|
@ -111,6 +111,10 @@ class ApplicationServicesHandler(object):
|
|||
events_processed_counter.inc_by(len(events))
|
||||
|
||||
yield self.store.set_appservice_last_pos(upper_bound)
|
||||
|
||||
synapse.metrics.event_processing_positions.set(
|
||||
upper_bound, "appservice_sender",
|
||||
)
|
||||
finally:
|
||||
self.is_processing = False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue