You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArrivalService check new data every minute. And when at 6:30 am FeedService tries to do it's job, it fails, because process is busy with ArrivalService job. What can you suggest? Thank you!
The text was updated successfully, but these errors were encountered:
I publish a new version @0.4.0, it supports retry, maybe can help you.
import{Cron}from'nest-schedule';exportclassFeedServiceextendsNestSchedule{// It will retry after 5s when throw an error.
@Cron('00 30 6 * * *',{maxRetry: 1,retryInterval: 5000})asyncrunCron(){ ... }}
In one of my microservices I have two modules with one
@Cron
in each of them:ArrivalService check new data every minute. And when at 6:30 am FeedService tries to do it's job, it fails, because process is busy with ArrivalService job. What can you suggest? Thank you!
The text was updated successfully, but these errors were encountered: