diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-18 14:30:07 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-18 14:30:07 +0100 |
commit | b37ced8f63f64ab4fc1cff248fefddb5ebb6c957 (patch) | |
tree | 28a88adf664d9edaf38ffa0b1e4904c1bf31280b /synapse/rest | |
parent | Increase /events timeout to 30 secs. We don't need it so low anymore to get a... (diff) | |
download | synapse-b37ced8f63f64ab4fc1cff248fefddb5ebb6c957.tar.xz |
Update the default longpoll timeout time.
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/events.py | 2 |
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): |