summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-05-06 11:20:18 +0100
committerErik Johnston <erik@matrix.org>2016-05-06 11:20:18 +0100
commit56b5e83e36f22f3eab1ebf7a46b9f23f0c1a3e8d (patch)
treef619909e35387c202e85dc0bc4c9aac151896713 /synapse/handlers
parentMerge pull request #765 from matrix-org/markjh/open_id (diff)
downloadsynapse-56b5e83e36f22f3eab1ebf7a46b9f23f0c1a3e8d.tar.xz
Reduce database inserts when sending transactions
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index d0c8f1328b..639567953a 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -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,