From a7de34dac692cd93dbf997fec871f4e8789a9afe Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Wed, 27 Nov 2024 13:42:13 +0200 Subject: [PATCH] fix(editor): Lower throttle time to only briefly show execution running status (no-changelog) (#11921) --- packages/editor-ui/src/composables/useCanvasNode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/composables/useCanvasNode.ts b/packages/editor-ui/src/composables/useCanvasNode.ts index 6b051992fb..878ecc4d0f 100644 --- a/packages/editor-ui/src/composables/useCanvasNode.ts +++ b/packages/editor-ui/src/composables/useCanvasNode.ts @@ -59,7 +59,7 @@ export function useCanvasNode() { const executionStatus = computed(() => data.value.execution.status); const executionWaiting = computed(() => data.value.execution.waiting); const executionRunning = computed(() => data.value.execution.running); - const executionRunningThrottled = refThrottled(executionRunning, 300); + const executionRunningThrottled = refThrottled(executionRunning, 50); const runDataOutputMap = computed(() => data.value.runData.outputMap); const runDataIterations = computed(() => data.value.runData.iterations);