From 4a34a1aec7fab5f7804eefedab51030dbce0cb50 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Mon, 18 Mar 2013 10:45:24 +0100 Subject: [PATCH] status update every 3 min --- lib/client.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/client.js b/lib/client.js index 1065dca..2eed5e6 100644 --- a/lib/client.js +++ b/lib/client.js @@ -128,4 +128,10 @@ Client.prototype.init = function(client, ui) { elem.connect(); }; })(this), 10000); + + setInterval((function(elem) { + return function() { + elem.updateStatus(); + }; + })(this), 180000); };