Measure PresenceEventSource.get_new_events

This commit is contained in:
Erik Johnston 2016-02-23 13:49:16 +00:00
parent 9e696bd6a3
commit 56a94ccd9e

View File

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