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
Possible regressions in Sidekiq 5.2.4 #4075
Comments
I think this change here: and here: Results in the configuration file in a default location being ignored entirely if it's not declared with the |
Confirming on |
I'm having trouble writing a failing test as |
I suspect this comment is referring to this regression #4054 (comment) |
Environment should take precedence over config file. |
CLI requires either the working directory to be a Rails app or |
I'm pretty sure the default queue issue is due to a change in how the absence of a |
Fixed in #4077 |
Ruby version: 2.5.3
Sidekiq / Pro / Enterprise version(s):
5.2.4 / 4.04 / 1.7.2
In 5.2.4 we saw two issues that I believe may be caused by the refactoring in this recent commit: (EDIT: it was a different recent commit, updated here)
1d83555
The issues are:
default
, ignoring queues declared in the config YAML. Workers with queues declared as CLI arguments pick up those queues.RAILS_MAX_THREADS
environment variable appears to be suddenly taking precedence over theconcurrency
key in our configuration file. We have our app set to3
and ourSIDEKIQ_CONCURRENCY=15
.When we revert to 5.2.3, both of these issues resolve themselves. If we override
RAILS_MAX_THREADS
for our worker process at the CLI withRAILS_MAX_THREADS=15
, we see the threads change to 15.I'm still working up a failing test, but wanted to post this information as I'm working this out.
Please include your initializer and any error message with the full backtrace.
Our
config/sidekiq.yml
:Environment settings:
Procfile line for Heroku:
(We have a second worker process which only processes
mailers
andhigh_priority
that didn't only processdefault
after the version bump.)The text was updated successfully, but these errors were encountered: