Reduce database inserts when sending transactions

This commit is contained in:
Erik Johnston 2016-05-06 11:20:18 +01:00
parent 1f590f3e9a
commit 56b5e83e36
2 changed files with 114 additions and 45 deletions

View file

@ -168,7 +168,7 @@ class PresenceHandler(BaseHandler):
# The initial delay is to allow disconnected clients a chance to
# reconnect before we treat them as offline.
self.clock.call_later(
0 * 1000,
30 * 1000,
self.clock.looping_call,
self._handle_timeouts,
5000,