From 2ba88bd13a916ab9311701922ea72b9ea40ea4fb Mon Sep 17 00:00:00 2001 From: lilia Date: Sat, 6 Dec 2014 23:42:51 -0800 Subject: [PATCH] Shorten keep alive interval. Closes #97 --- js/websocket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/websocket.js b/js/websocket.js index 6cc6bea4..69f914c5 100644 --- a/js/websocket.js +++ b/js/websocket.js @@ -36,7 +36,7 @@ keepAliveTimer = setTimeout(function() { socket.send(JSON.stringify({type: 1, id: 0})); resetKeepAliveTimer(); - }, 50000); + }, 15000); }; function reconnect(e) {