@stacksjs/scheduler 0.61.24 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,9 +7,6 @@ import {spawn} from "child_process";
|
|
|
7
7
|
|
|
8
8
|
// src/errors.ts
|
|
9
9
|
class CronError extends Error {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
}
|
|
13
10
|
}
|
|
14
11
|
|
|
15
12
|
class ExclusiveParametersError extends CronError {
|
|
@@ -330,7 +327,7 @@ class CronTime {
|
|
|
330
327
|
let actualMinute;
|
|
331
328
|
let actualHour;
|
|
332
329
|
let maybeJumpingPoint = date;
|
|
333
|
-
const iterationLimit =
|
|
330
|
+
const iterationLimit = 60 * 24;
|
|
334
331
|
let iteration = 0;
|
|
335
332
|
do {
|
|
336
333
|
if (++iteration > iterationLimit) {
|