mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 14:38:00 -03:30
Merge pull request #5296 from jlmitch5/jobResultsPerformanceAgain
more job results performance stuff
This commit is contained in:
commit
691612d899
@ -52,10 +52,14 @@ export default ['jobResultsService', 'parseStdoutService', function(jobResultsSe
|
||||
},
|
||||
// populates the event queue
|
||||
populate: function(event) {
|
||||
val.queue[event.counter] = val.munge(event);
|
||||
if (event) {
|
||||
val.queue[event.counter] = val.munge(event);
|
||||
|
||||
if (!val.queue[event.counter].processed) {
|
||||
return val.munge(event);
|
||||
if (!val.queue[event.counter].processed) {
|
||||
return val.munge(event);
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
|
||||
@ -586,10 +586,10 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
||||
var buffer = [];
|
||||
|
||||
var processBuffer = function() {
|
||||
buffer.forEach((event, i) => {
|
||||
processEvent(event);
|
||||
for (let i = 0; i < 20; i++) {
|
||||
processEvent(buffer[i]);
|
||||
buffer.splice(i, 1);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
var bufferInterval;
|
||||
|
||||
@ -237,7 +237,8 @@
|
||||
|
||||
|
||||
// Additional modal specific styles
|
||||
.modal-body, #add-permissions-modal {
|
||||
.modal-body, #add-permissions-modal,
|
||||
.JobResults {
|
||||
.SmartSearch-searchTermContainer {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user