mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Job detail page refactor
Adjust queueing strategy
This commit is contained in:
@@ -76,7 +76,7 @@ function($log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, SelectPlay, Se
|
|||||||
if (!JobIsFinished(scope)) {
|
if (!JobIsFinished(scope)) {
|
||||||
scope.myInterval = window.setInterval(function() {
|
scope.myInterval = window.setInterval(function() {
|
||||||
popEvent();
|
popEvent();
|
||||||
}, 600);
|
}, 1000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -146,7 +146,6 @@ function($log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, SelectPlay, Se
|
|||||||
changed: event.changed,
|
changed: event.changed,
|
||||||
modified: event.modified
|
modified: event.modified
|
||||||
});
|
});
|
||||||
scope.$emit('GetNextEvent');
|
|
||||||
}
|
}
|
||||||
if (event.event === 'playbook_on_no_hosts_matched') {
|
if (event.event === 'playbook_on_no_hosts_matched') {
|
||||||
UpdatePlayStatus({
|
UpdatePlayStatus({
|
||||||
@@ -200,7 +199,6 @@ function($log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, SelectPlay, Se
|
|||||||
changed: event.changed,
|
changed: event.changed,
|
||||||
modified: event.modified
|
modified: event.modified
|
||||||
});
|
});
|
||||||
scope.$emit('GetNextEvent');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event.event === 'runner_on_unreachable') {
|
if (event.event === 'runner_on_unreachable') {
|
||||||
@@ -281,7 +279,6 @@ function($log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, SelectPlay, Se
|
|||||||
scope.host_summary = {};
|
scope.host_summary = {};
|
||||||
LoadHostSummary({ scope: scope, data: event.event_data });
|
LoadHostSummary({ scope: scope, data: event.event_data });
|
||||||
DrawGraph({ scope: scope, resize: true });
|
DrawGraph({ scope: scope, resize: true });
|
||||||
scope.$emit('GetNextEvent');
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user