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

Sidekiq 7 support. Refactored to use new middleware API #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

acallaghan
Copy link

Added Sidekiq 7 support

The internal API for Sidekiq has been refactored, and so the middleware in this gem was not working for versions of Sidekiq 6.5+
https://github.com/sidekiq/sidekiq/blob/main/docs/7.0-Upgrade.md
https://github.com/sidekiq/sidekiq/blob/main/docs/7.0-API-Migration.md

Using these API docs, I've refactored the middleware so it's compatible with versions 6.5 (the API changes) and 7

https://github.com/sidekiq/sidekiq/blob/main/docs/middleware.md
https://www.rubydoc.info/gems/sidekiq/Sidekiq/Middleware

vadviktor added a commit to vadviktor/apartment-sidekiq that referenced this pull request Oct 11, 2023
Copy link

@luk4s luk4s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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 this pull request may close these issues.

2 participants