summary refs log tree commit diff
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-18 14:25:20 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-18 14:25:25 +0100
commitc12f55aa3ba35e05f479e9d08b8d7ff7ec209e6e (patch)
treeb8b542a085bd73444012c2a5a0e84dea49fdaf5b
parentAllow room presence visibility between users who share a room (diff)
downloadsynapse-c12f55aa3ba35e05f479e9d08b8d7ff7ec209e6e.tar.xz
Increase /events timeout to 30 secs. We don't need it so low anymore to get around request suppression when changing rooms, since there is just a single event stream now.
-rw-r--r--webclient/components/matrix/event-stream-service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/event-stream-service.js b/webclient/components/matrix/event-stream-service.js
index 9f678e8454..c94cf0fe72 100644
--- a/webclient/components/matrix/event-stream-service.js
+++ b/webclient/components/matrix/event-stream-service.js
@@ -26,7 +26,7 @@ angular.module('eventStreamService', [])
 .factory('eventStreamService', ['$q', '$timeout', 'matrixService', 'eventHandlerService', function($q, $timeout, matrixService, eventHandlerService) {
     var END = "END";
     var START = "START";
-    var TIMEOUT_MS = 5000;
+    var TIMEOUT_MS = 30000;
     var ERR_TIMEOUT_MS = 5000;
     
     var settings = {