Skip to content
New issue

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

Display a custom display name for queues in Dashboard #2501

Open
robin-83 opened this issue Feb 28, 2025 · 1 comment
Open

Display a custom display name for queues in Dashboard #2501

robin-83 opened this issue Feb 28, 2025 · 1 comment

Comments

@robin-83
Copy link

Hello,

I sometimes have to use unique queues (with a guid) to make sure that a job is only processed by a specific server only. Sometimes even by a server instance (meaning the guid is dynamically created at the time of enqueue). Additionally I use a priority as a prefix. This works great and much better than using filters.

A typical dashboard might look like this:

Image

I would like to use a queue display name throughout the dashboard like

"Demo job queue (default priority)" instead of "p3_00000000-0000-0000-0000-000000000002". Do you see any chance to achieve that with the current codebase?

Best regards

@montyclt
Copy link

You can use an attribute to achieve that, but I hope an overload in the Enqueue and Schedule methods.

See https://stackoverflow.com/questions/58802301/how-to-use-custom-job-name-when-using-hangfire-to-start-jobs-that-implement-an-i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants