display all job type events in job output

This commit is contained in:
Keith J. Grant 2022-02-02 11:00:31 -08:00
parent c8b906ffb7
commit d2c2d459c4

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) {