Merge pull request #11670 from keithjgrant/11628-missing-job-output

Display all job type events in job output
This commit is contained in:
Sarah Akus 2022-02-07 18:04:18 -05:00 committed by GitHub
commit 73bba00cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,7 +240,7 @@ function JobOutput({ job, eventRelatedSearchableKeys, eventSearchableKeys }) {
setWsEvents([]);
scrollToRow(lastScrollPosition);
});
}, 250);
}, 500);
return;
}
let batchTimeout;
@ -278,7 +278,7 @@ function JobOutput({ job, eventRelatedSearchableKeys, eventSearchableKeys }) {
batchedEvents = [];
};
if (data.group_name === 'job_events') {
if (data.group_name === `${job.type}_events`) {
batchedEvents.push(data);
clearTimeout(batchTimeout);
if (batchedEvents.length >= 25) {