Skip to content

Commit afbef37

Browse files
authored
Don't query metadata if no pollers available (#2586)
1 parent e5e3c9d commit afbef37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/layouts/workflow-run-layout.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
103103
workflowRunController = new AbortController();
104104
105-
if (workflow.isRunning) {
105+
if (workflow.isRunning && workers?.pollers?.length) {
106106
getWorkflowMetadata(
107107
{
108108
namespace,

0 commit comments

Comments
 (0)