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

Breaking changes from 6.2.1 to 6.2.2 #4973

Closed
james-em opened this issue Aug 25, 2021 · 1 comment
Closed

Breaking changes from 6.2.1 to 6.2.2 #4973

james-em opened this issue Aug 25, 2021 · 1 comment

Comments

@james-em
Copy link

james-em commented Aug 25, 2021

Ruby version: 3.0.1
Rails version: 6.1.4.1
Sidekiq [6.2.1 --> 6.2.2]

Sidekiq 6.2.1 works fine.
Sidekiq 6.2.2 generates the exception below.

All my gems are up to date as of today.

Initializer

Rails.application.reloader.to_prepare do
  # expiration = default expiration for how long job status are persisted in Redis.
  Sidekiq.client_middleware do |chain|
    chain.add Sidekiq::Status::ClientMiddleware, expiration: 12.hours
    chain.add SidekiqUniqueJobs::Middleware::Client
    chain.add Sidekiq::Middlewares::Client::HistoryMiddleware
  end

  Sidekiq.server_middleware do |chain|
    chain.add Sidekiq::Status::ServerMiddleware, expiration: 12.hours
    chain.add SidekiqUniqueJobs::Middleware::Server
    chain.add Sidekiq::Middlewares::Server::HistoryMiddleware
  end
end

Error
Screen Shot 2021-08-25 at 8 51 28 AM

Code specific
Screen Shot 2021-08-25 at 8 54 33 AM
Screen Shot 2021-08-25 at 8 54 26 AM

@mperham
Copy link
Collaborator

mperham commented Aug 25, 2021

kenaniah/sidekiq-status#4

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

No branches or pull requests

2 participants