From 182ff04fd08a4447772ecbb7b5b6f7bf8b0a5037 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Fri, 23 Mar 2012 14:58:14 +0000 Subject: Change refresh time from 30s to 2mins --- static/javascript/mauve_utils.js | 4 ++-- views/alerts.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/javascript/mauve_utils.js b/static/javascript/mauve_utils.js index e467b5d..1918006 100644 --- a/static/javascript/mauve_utils.js +++ b/static/javascript/mauve_utils.js @@ -152,7 +152,7 @@ function updateAlertsTable(alert_type, group_by) { // // Schedule next update. // - setTimeout("updateAlertsTable('"+alert_type+"','"+group_by+"');", 30000); + setTimeout("updateAlertsTable('"+alert_type+"','"+group_by+"');", 120000); } }, error: function( a,b,c ) { @@ -164,7 +164,7 @@ function updateAlertsTable(alert_type, group_by) { // // Schedule next update. // - setTimeout("updateAlertsTable('"+alert_type+"','"+group_by+"');", 30000); + setTimeout("updateAlertsTable('"+alert_type+"','"+group_by+"');", 120000); }, }); diff --git a/views/alerts.haml b/views/alerts.haml index 8968249..896b5a3 100644 --- a/views/alerts.haml +++ b/views/alerts.haml @@ -8,5 +8,5 @@ %p No alerts to display. :javascript // Do the magic updates.. - setTimeout("updateAlertsTable('#{@alert_type}','#{@group_by}');", 30000) + setTimeout("updateAlertsTable('#{@alert_type}','#{@group_by}');", 120000) -- cgit v1.2.1