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