From 26075cd9a7c04c294053afead63c46fff7b16cfc Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sun, 10 May 2026 17:32:09 +0200 Subject: [PATCH] Updated job scheduler --- LiteCharms.Infrastructure/Quartz/JobOrchestrator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LiteCharms.Infrastructure/Quartz/JobOrchestrator.cs b/LiteCharms.Infrastructure/Quartz/JobOrchestrator.cs index c03f3c6..6874541 100644 --- a/LiteCharms.Infrastructure/Quartz/JobOrchestrator.cs +++ b/LiteCharms.Infrastructure/Quartz/JobOrchestrator.cs @@ -35,7 +35,7 @@ public class JobOrchestrator(ISchedulerFactory schedulerFactory) : IJobOrchestra var chainedJobGroup = "scheduled-jobs"; var scheduler = await schedulerFactory.GetScheduler(cancellationToken); - var jobKey = new JobKey($"{notification.Name.ToLower()}-{notification.CorrelationId.ToLower()}", chainedJobGroup); + var jobKey = new JobKey($"{notification.Name.ToLower()}", chainedJobGroup); var triggerKey = new TriggerKey($"{jobKey.Name}-trigger", chainedJobGroup); var job = JobBuilder.Create>()