Skip to content

v1.7.20: Resolve three cascading bugs in job scheduler for long-interval cron schedules

Choose a tag to compare

@M-Chris M-Chris released this 11 Feb 20:16
· 102 commits to main since this release

resolve three cascading bugs in job scheduler for long-interval cron schedules

  • Cap setTimeout delay at 2^31-1 ms to prevent 32-bit overflow that caused
    infinite rapid-fire execution for cron schedules >24.8 days away
  • Pass per-job executor options (timeout, maxRetries, retryBackoff,
    enableCircuitBreaker) through to JobExecutor.execute() instead of silently
    discarding them
  • Add jobs config to validateConfig() output so global executor settings
    from moro.config.ts are no longer dropped during validation