Infinite loop in cron job
julian-hartl opened this issue · 0 comments
julian-hartl commented
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
Cron job annotated with @Cron(CronExpression.EVERY_6_HOURS)
loops infinitely. This issue exists since Monday (03-29).
Minimum reproduction code
Steps to reproduce
See here for more information: kelektiv/node-cron#638.
Expected behavior
No infinite loop, but a single instruction cycle.
Package version
2.2.0
NestJS version
9.0.0
Node.js version
18.2.0
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
I think the underlying issue might be a bug in the underlying cron
package. This pr was merged 3 weeks ago and was released in version v2.3.0 (current version in this package is v2.2.0).