summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-18 14:30:07 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-18 14:30:07 +0100
commitb37ced8f63f64ab4fc1cff248fefddb5ebb6c957 (patch)
tree28a88adf664d9edaf38ffa0b1e4904c1bf31280b /synapse
parentIncrease /events timeout to 30 secs. We don't need it so low anymore to get a... (diff)
downloadsynapse-b37ced8f63f64ab4fc1cff248fefddb5ebb6c957.tar.xz
Update the default longpoll timeout time.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/events.py b/synapse/rest/events.py
index dc811b813a..ca2f6978e5 100644
--- a/synapse/rest/events.py
+++ b/synapse/rest/events.py
@@ -24,7 +24,7 @@ from synapse.rest.base import RestServlet, client_path_pattern
 class EventStreamRestServlet(RestServlet):
     PATTERN = client_path_pattern("/events$")
 
-    DEFAULT_LONGPOLL_TIME_MS = 5000
+    DEFAULT_LONGPOLL_TIME_MS = 30000
 
     @defer.inlineCallbacks
     def on_GET(self, request):