Skip to content

RecurringJobManager does not use the provided queue name #2544

@dlumpp

Description

@dlumpp

RecurringJobManager.AddOrUpdate does not use the Job.Queue from the job argument when creating the RecurringJobEntity. Instead, the obsolete RecurringJobOptions.QueueName is used.

I discovered this because the obsolete extension methods recommend using a RecurringJobOptions overload. However, if you do use one of those then you can only set the queue via the obsolete RecurringJobOptions.QueueName property. The string queue argument never makes it. You're stuck with an obsolete warning either way.

Hangfire.Core v1.8.21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions