From 9c69d34ebb43afc53a1726f2d88a737ce4df0d32 Mon Sep 17 00:00:00 2001 From: maliming Date: Sun, 5 Oct 2025 19:36:52 +0800 Subject: [PATCH] Add TickerQ job configuration and dashboard docs --- .../infrastructure/background-jobs/tickerq.md | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/en/framework/infrastructure/background-jobs/tickerq.md b/docs/en/framework/infrastructure/background-jobs/tickerq.md index c8972638e5..c7eb5d7dd6 100644 --- a/docs/en/framework/infrastructure/background-jobs/tickerq.md +++ b/docs/en/framework/infrastructure/background-jobs/tickerq.md @@ -42,4 +42,29 @@ public class YourModule : AbpModule ## Configuration -TODO: \ No newline at end of file +### AbpBackgroundJobsTickerQOptions + +You can configure the `TimeTicker` properties for specific jobs. For example, Change `Priority`, `Retries` and `RetryIntervals` properties: + +```csharp +Configure(options => +{ + options.AddJobConfiguration(new AbpBackgroundJobsTimeTickerConfiguration() + { + Retries = 3, + RetryIntervals = new[] {30, 60, 120}, // Retry after 30s, 60s, then 2min + Priority = TickerTaskPriority.High + }); + + options.AddJobConfiguration(new AbpBackgroundJobsTimeTickerConfiguration() + { + Retries = 5, + RetryIntervals = new[] {30, 60, 120}, // Retry after 30s, 60s, then 2min + Priority = TickerTaskPriority.Normal + }); +}); +``` + +### TickerQ Dashboard and EF Core Integration + +You can install the [TickerQ dashboard](https://tickerq.net/setup/dashboard.html) and [Entity Framework Core](https://tickerq.net/setup/tickerq-ef-core.html) integration by its documentation. There is no specific configuration needed for the ABP integration.