You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unsure if this is a Sidekiq 4.x issue or related to influitive/apartment-sidekiq#9, but I thought I might try updating from the latest 3.x and seeing if the latest Sidekiq works for me. Gonna roll back to 3.x (everything listed below works great with the previous version) and stick with that, but I'm wondering if this is an issue or just something silly I'm doing.
To start, I'm using Sidekiq 4.0.2 and locally I have Redis 3.0.2. My initializer looks like so:
require 'sidekiq/web'
redis_config = Rails.configuration.x.redis
redis_url = "redis://#{redis_config['host']}:#{redis_config['port']}"
redis_options = { url: redis_url }
Sidekiq.configure_server do |config|
config.redis = redis_options
end
Sidekiq.configure_client do |config|
config.redis = redis_options
end
Sidekiq::Web.use(Rack::Auth::Basic) do |username, password|
[username, password] == [Rails.application.secrets.sidekiq_username, Rails.application.secrets.sidekiq_password]
end unless Rails.env.development?
In the upgrade guide, I see "You must have a minimum of concurrency + 2 connections in your pool or Sidekiq will exit. When in doubt, let Sidekiq size the connection pool for you." I'm not sure if this relates here and I'm unsure if letting Sidekiq set the connection pool size for me happens without explicitly configuring.
Here's the trace when the error happens. Typically, the jobs work if it's just one just but if a job enqueues a different job, the error shows up:
Since you mentioned this fails on both Sidekiq 3 and 4, I'm going to assume the issue is with apartment-sidekiq and is something they need to deal with.
Unsure if this is a Sidekiq 4.x issue or related to influitive/apartment-sidekiq#9, but I thought I might try updating from the latest 3.x and seeing if the latest Sidekiq works for me. Gonna roll back to 3.x (everything listed below works great with the previous version) and stick with that, but I'm wondering if this is an issue or just something silly I'm doing.
To start, I'm using Sidekiq 4.0.2 and locally I have Redis 3.0.2. My initializer looks like so:
In the upgrade guide, I see "You must have a minimum of concurrency + 2 connections in your pool or Sidekiq will exit. When in doubt, let Sidekiq size the connection pool for you." I'm not sure if this relates here and I'm unsure if letting Sidekiq set the connection pool size for me happens without explicitly configuring.
Here's the trace when the error happens. Typically, the jobs work if it's just one just but if a job enqueues a different job, the error shows up:
The text was updated successfully, but these errors were encountered: