Skip to content

Commit ca75965

Browse files
committed
Changed submitted job timeout condition
1 parent c861210 commit ca75965

File tree

1 file changed

+1
-4
lines changed
  • src/routes/v2/projects/[projectId]/workflows/[workflowId]

1 file changed

+1
-4
lines changed

src/routes/v2/projects/[projectId]/workflows/[workflowId]/+page.svelte

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,10 +515,7 @@
515515
const submitted = Object.values(statuses).filter((s) => s.status === 'submitted');
516516
if (submitted.length > 0 || selectedSubmittedJob?.status === 'submitted') {
517517
window.clearTimeout(statusWatcherTimer);
518-
statusWatcherTimer = window.setTimeout(
519-
loadJobsStatus,
520-
submitted.length > 0 ? updateJobsInterval : 0
521-
);
518+
statusWatcherTimer = window.setTimeout(loadJobsStatus, updateJobsInterval);
522519
} else {
523520
await reloadSelectedDataset();
524521
selectedSubmittedJob = undefined;

0 commit comments

Comments
 (0)