@dudousxd/nestjs-durable-core 0.85.1 → 0.85.2

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.cjs CHANGED
@@ -2745,6 +2745,7 @@ async function runSchedules(engine, schedules, nowMs, opts) {
2745
2745
  if (prev && (prev.status === "running" || prev.status === "suspended")) continue;
2746
2746
  }
2747
2747
  }
2748
+ if (!(s.jitter && s.jitter > 0)) jitterFireAt.get(engine)?.delete(s.key);
2748
2749
  const firing = s.jitter && s.jitter > 0 ? jitterDue(engine, s, candidates, nowMs, random) : candidates;
2749
2750
  if (firing.length === 0) continue;
2750
2751
  for (const runId of firing) {