summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-05-06 13:20:43 +0100
committerErik Johnston <erik@matrix.org>2016-05-06 13:20:43 +0100
commit96d9d5d388c5e6436ac64269532761daa003820f (patch)
tree043568db04806d490425e04b1c3c97dc8e707d00 /synapse/handlers
parentMerge pull request #765 from matrix-org/markjh/open_id (diff)
parentPull prev txn from in memory (diff)
downloadsynapse-96d9d5d388c5e6436ac64269532761daa003820f.tar.xz
Merge pull request #767 from matrix-org/erikj/transaction_txn
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,