From c12f55aa3ba35e05f479e9d08b8d7ff7ec209e6e Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 18 Aug 2014 14:25:20 +0100 Subject: [PATCH] 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. --- webclient/components/matrix/event-stream-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {