@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.
Files changed (2) hide show
  1. package/dist/index.js +1 -4
  2. 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 = 1440;
330
+ const iterationLimit = 60 * 24;
334
331
  let iteration = 0;
335
332
  do {
336
333
  if (++iteration > iterationLimit) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/scheduler",
3
3
  "type": "module",
4
- "version": "0.61.24",
4
+ "version": "0.62.0",
5
5
  "description": "The Stacks scheduler.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",