From 4e2ea397d548bfa12079a22487e922ddab403958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=B1=D0=B5=D0=B4=D0=B5=D0=B2=20=D0=98=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD?= <11215636+X-pech@users.noreply.github.com> Date: Tue, 3 Aug 2021 00:37:20 +0400 Subject: [PATCH] :bug: Fix Interval Trigger (#2043) Fixed infinite amount of interval triggered nodes executions --- packages/nodes-base/nodes/Interval.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Interval.node.ts b/packages/nodes-base/nodes/Interval.node.ts index 55592236e9..c5ee0631be 100644 --- a/packages/nodes-base/nodes/Interval.node.ts +++ b/packages/nodes-base/nodes/Interval.node.ts @@ -84,7 +84,7 @@ export class Interval implements INodeType { throw new Error('The interval value is too large.'); } - const intervalObj = setInterval(executeTrigger, ); + const intervalObj = setInterval(executeTrigger, intervalValue); async function closeFunction() { clearInterval(intervalObj);