mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
🐛 Fix Interval Trigger (#2043)
Fixed infinite amount of interval triggered nodes executions
This commit is contained in:
parent
8f07bcee03
commit
4e2ea397d5
|
@ -84,7 +84,7 @@ export class Interval implements INodeType {
|
||||||
throw new Error('The interval value is too large.');
|
throw new Error('The interval value is too large.');
|
||||||
}
|
}
|
||||||
|
|
||||||
const intervalObj = setInterval(executeTrigger, );
|
const intervalObj = setInterval(executeTrigger, intervalValue);
|
||||||
|
|
||||||
async function closeFunction() {
|
async function closeFunction() {
|
||||||
clearInterval(intervalObj);
|
clearInterval(intervalObj);
|
||||||
|
|
Loading…
Reference in a new issue