Add more logging. Up the event stream timer to 10s

This commit is contained in:
Erik Johnston 2014-08-28 15:30:42 +01:00
parent b8b52ca09d
commit e0ba81344c
2 changed files with 4 additions and 1 deletions

View File

@ -98,8 +98,9 @@ class EventStreamHandler(BaseHandler):
)
del self._stop_timer_per_user[auth_user]
logger.debug("Scheduling _later: for %s", auth_user)
self._stop_timer_per_user[auth_user] = (
self.clock.call_later(5, _later)
self.clock.call_later(10, _later)
)

View File

@ -517,6 +517,7 @@ class PresenceHandler(BaseHandler):
)
@defer.inlineCallbacks
@trace_function
def push_presence(self, user, statuscache):
assert(user.is_mine)
@ -559,6 +560,7 @@ class PresenceHandler(BaseHandler):
)
@defer.inlineCallbacks
@trace_function
def _send_presence_to_distribution(self, srcuser, localusers=set(),
remotedomains=set(), statuscache=None):