We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given the following code:
BackgroundJobClient.Enqueue<JobDoer>("priority-analysis", dj=> dj.DoJob(null!, id, null));
Calling this:
[Queue("analysis")] public async Task DoJob(PerformContext? performContext, Guid testId, DateTime? _lastRun) {
Will cause the job to end up in the "analysis" queue.
If I remove [Queue("analysis")] it just uses the default queue.
[Queue("analysis")]
I'm using the default implementation of IBackgroundJobClient when injected via .NET 7.
IBackgroundJobClient
The text was updated successfully, but these errors were encountered:
https://github.com/StrangeWill/HangfireQueueBug
Reproduction project ^
https://github.com/StrangeWill/HangfireQueueBug/blob/master/HostedServices/HangfireHostedService.cs
^ Relevant config.
^ Default queue
Sorry, something went wrong.
No branches or pull requests
Given the following code:
Calling this:
Will cause the job to end up in the "analysis" queue.
If I remove
[Queue("analysis")]
it just uses the default queue.I'm using the default implementation of
IBackgroundJobClient
when injected via .NET 7.The text was updated successfully, but these errors were encountered: