From a3bf40e852244fa9892e9b7a210dfc8c4c73d8b2 Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 21 Oct 2014 14:26:14 -0700 Subject: [PATCH] Shorten websocket time out. Fixes #67 --- js/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/api.js b/js/api.js index 8120fad6..6b345f48 100644 --- a/js/api.js +++ b/js/api.js @@ -353,7 +353,7 @@ window.textsecure.api = function() { } self.getMessageWebsocket = function() { - return getWebsocket(URL_CALLS['push'], true, 60000); + return getWebsocket(URL_CALLS['push'], true, 1000); } self.getTempWebsocket = function() {