Closed patbenatar closed 2 years ago
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.
🤷♂️
Hey @patbenatar Are you still running into this issue? If so can you give some more details:
Thanks
@matt-taylor We've worked around the issue by updating our gem "rails"
line in the Gemfile to explicitly require the libs we want. That seems to be the generally accepted solution on the Sidekiq issues thread when you have a gem that causes the problem (like these ones that suffer from the same issue as Shoryuken https://github.com/mperham/sidekiq/issues/4766#issuecomment-749094226)
Our shoryuken.yml:
concurrency: <%= ENV.fetch("RAILS_MAX_THREADS", 25) %>
delay: <%= ENV.fetch("SQS_DELAY", 30) %>
Gemfile:
gem "shoryuken", "~> 5.3.2"
sidekiqswarm launch:
SIDEKIQ_PRELOAD_APP=1 bundle exec sidekiqswarm
I would assume you can repro with a vanilla Rails app including both shoryuken and sidekiqswarm, but I haven't tried to create a repro app like that.
Unfortunately, I am unable to reproduce this with the following:
I would assume that there is some custom configuration that has been done with rails. Would you be able to shed some light into what your configuration looks like when this was failing?
Tangentially, Yes we will begin to change how Shoryuken will boot to align with modern rails. But would like to understand this issue as well.
@matt-taylor Thanks for looking into this. We're no longer using sidekiqswarm so I'm not able to attempt a repro on latest Shoryuken in our app to help diagnose. I'll go ahead and close this out.
See https://github.com/mperham/sidekiq/issues/4766#issuecomment-990419555