mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Measure PresenceEventSource.get_new_events
This commit is contained in:
parent
9e696bd6a3
commit
56a94ccd9e
@ -835,6 +835,7 @@ class PresenceEventSource(object):
|
||||
# We don't try and limit the presence updates by the current token, as
|
||||
# sending down the rare duplicate is not a concern.
|
||||
|
||||
with Measure(self.clock, "Presence.get_new_events"):
|
||||
user_id = user.to_string()
|
||||
if from_key is not None:
|
||||
from_key = int(from_key)
|
||||
|
Loading…
Reference in New Issue
Block a user