Skip to content

Commit

Permalink
Merge pull request #4179 from novuhq/cron-health
Browse files Browse the repository at this point in the history
Correct Env Variable for Completed Cron Id health check
  • Loading branch information
Cliftonz authored Sep 21, 2023
2 parents e545500 + 3ed4d5c commit f51fd35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class CompletedJobsMetricService {
this.completedJobsMetricWorkerService.createWorker(this.getWorkerProcessor(), this.getWorkerOptions());

this.completedJobsMetricWorkerService.worker.on('completed', async (job) => {
await checkingForCronJob(process.env.ACTIVE_CRON_ID);
await checkingForCronJob(process.env.COMPLETED_CRON_ID);
Logger.verbose('Metric Completed Job', job.id, LOG_CONTEXT);
});

Expand Down

0 comments on commit f51fd35

Please sign in to comment.