diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-03-23 14:58:14 +0000 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-03-23 14:58:14 +0000 |
commit | 182ff04fd08a4447772ecbb7b5b6f7bf8b0a5037 (patch) | |
tree | cc9919b03abbf927834e8e75945f9aaf5f344d0c | |
parent | 060f6f74185a182400840015ca9e445074b2d56f (diff) |
Change refresh time from 30s to 2mins
-rw-r--r-- | static/javascript/mauve_utils.js | 4 | ||||
-rw-r--r-- | 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) |