From 56ad7d2e9e35bc506c631798a477a8ba0074018f Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Sat, 14 Jun 2014 04:23:47 -0400 Subject: [PATCH] Job detail page refactor Adjust queueing strategy --- awx/ui/static/js/helpers/JobDetail.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/awx/ui/static/js/helpers/JobDetail.js b/awx/ui/static/js/helpers/JobDetail.js index 44ab67e3c1..614628bd41 100644 --- a/awx/ui/static/js/helpers/JobDetail.js +++ b/awx/ui/static/js/helpers/JobDetail.js @@ -76,7 +76,7 @@ function($log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, SelectPlay, Se if (!JobIsFinished(scope)) { scope.myInterval = window.setInterval(function() { popEvent(); - }, 600); + }, 1000); } }); @@ -146,7 +146,6 @@ function($log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, SelectPlay, Se changed: event.changed, modified: event.modified }); - scope.$emit('GetNextEvent'); } if (event.event === 'playbook_on_no_hosts_matched') { UpdatePlayStatus({ @@ -200,7 +199,6 @@ function($log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, SelectPlay, Se changed: event.changed, modified: event.modified }); - scope.$emit('GetNextEvent'); } if (event.event === 'runner_on_unreachable') { @@ -281,7 +279,6 @@ function($log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, SelectPlay, Se scope.host_summary = {}; LoadHostSummary({ scope: scope, data: event.event_data }); DrawGraph({ scope: scope, resize: true }); - scope.$emit('GetNextEvent'); } });