Abp Background Jobs
#14616
Replies: 2 comments
-
hi The default implement is simple. You can consider use Hangfire, RabbitMQ and Quartz.
https://docs.abp.io/en/abp/latest/Background-Jobs#integrations |
Beta Was this translation helpful? Give feedback.
0 replies
-
You could replace the built-in implementation with a custom one. Something like: [Dependency(ReplaceServices = true)]
public class BackgroundJobWorker : Volo.Abp.BackgroundJobs.BackgroundJobWorker
{
protected override DateTime? CalculateNextTryTime(BackgroundJobInfo jobInfo, IClock clock)
{
var nextTryDate = clock.Now.AddSeconds(60); // will retry every minut
return nextTryDate;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Abp Background Jobs Increasingly waits between retries for a job. It waits 1 minute for the first retry, 2 minutes for the second retry, 4 minutes for the third retry and so on.
Beta Was this translation helpful? Give feedback.
All reactions