HangfireIO / HangfireIO/Hangfire

Recurring job that runs on a non default queue is retried on default

Open
#705 7 comments 14 reactions 0 assignees View on GitHub
t: question
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

When a recurring job that is scheduled to run on a non default queue fails it is retried on the default one:

The job is scheduled this way:
`app.UseHangfireServer(new BackgroundJobServerOptions { Queues = new[] { "WEB" } })`

In hangfire console, the job shows the following:

Enqueued
Triggered by DelayedJobScheduler
Queue:
**DEFAULT**

Failed
An exception occurred during performance of the job.

Enqueued
Triggered by recurring job scheduler
Queue:
**WEB**

Is this a bug? Seems to me, a job should be retried on the same queue as it was originally scheduled.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.