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

Wrong queue shown in the UI if not defined in config #38

Open
Fryguy opened this issue Aug 5, 2022 · 1 comment · May be fixed by #41
Open

Wrong queue shown in the UI if not defined in config #38

Fryguy opened this issue Aug 5, 2022 · 1 comment · May be fixed by #41

Comments

@Fryguy
Copy link
Contributor

Fryguy commented Aug 5, 2022

In the Sidecloq config if you don't specify the queue for a job it will properly use the queue as defined by the class. For example, the following job and worker seems to work properly in that the BatchJobMonitor job is placed on the :my_queue queue minutely.

BatchJobMonitor:
  class: BatchJobMonitor
  cron: "* * * * *" # minutely
class BatchJobMonitor
  include Sidekiq::Worker
  sidekiq_options :queue => :my_queue
  ...
end

However, there is a bug in the "Recurring Jobs" UI in that it shows default, as seen below. Instead it should be showing my_queue.

_DEVELOPMENT__Sidekiq

Fryguy added a commit to Fryguy/sidecloq that referenced this issue Aug 5, 2022
@Fryguy Fryguy linked a pull request Aug 5, 2022 that will close this issue
@Fryguy
Copy link
Contributor Author

Fryguy commented Aug 5, 2022

Fixed in #41

Fryguy added a commit to Fryguy/sidecloq that referenced this issue Aug 5, 2022
Fryguy added a commit to Fryguy/sidecloq that referenced this issue Aug 5, 2022
Fryguy added a commit to Fryguy/sidecloq that referenced this issue Aug 5, 2022
Fryguy added a commit to Fryguy/sidecloq that referenced this issue Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant