diff --git a/.vs/AACloudPlatform/v15/.suo b/.vs/AACloudPlatform/v15/.suo index e6c9cb2a6..704702f17 100644 Binary files a/.vs/AACloudPlatform/v15/.suo and b/.vs/AACloudPlatform/v15/.suo differ diff --git a/Interval Executor.js b/Interval Executor.js index a6168aa8e..1d6441fa1 100644 --- a/Interval Executor.js +++ b/Interval Executor.js @@ -159,7 +159,7 @@ } } - function loopControl(moreIntervalExecutionsNeeded) { + function loopControl(moreIntervalExecutionsNeeded, nextIntervalLapse) { if (moreIntervalExecutionsNeeded === true) { @@ -175,8 +175,15 @@ const logText = "[WARN] 'loopControl'. Staring new Interval. "; logger.write(logText); - setTimeout(startNewInterval, processConfig.intervalLapse);// Looped Execution. + if (nextIntervalLapse === undefined) { + setTimeout(startNewInterval, processConfig.intervalLapse);// Looped Execution. + + } else { + + setTimeout(startNewInterval, nextIntervalLapse); + + } } } else {