Skip to content

Only add/remove to chain when options change#1

Merged
gustavolobo merged 1 commit intomeetcleo:masterfrom
ragalie:only-reconfigure-when-options-change
Mar 10, 2020
Merged

Only add/remove to chain when options change#1
gustavolobo merged 1 commit intomeetcleo:masterfrom
ragalie:only-reconfigure-when-options-change

Conversation

@gustavolobo
Copy link
Copy Markdown
Collaborator

There's no reason to add/remove the middleware from the middleware
chain everytime a sidekiq job runs. Only do it when the options change.

Fixes StatusPage#7

There's no reason to add/remove the middleware from the middleware
chain everytime a sidekiq job runs. Only do it when the options change.

Fixes StatusPage#7
Copy link
Copy Markdown

@joshuafleck joshuafleck left a comment

Choose a reason for hiding this comment

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

🚀

Copy link
Copy Markdown

@h-lame h-lame left a comment

Choose a reason for hiding this comment

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

It'd be useful to include the reference to the PR on upstream that this commit came from: StatusPage#8. Perhaps this comment is enough to achieve that though 😉

Copy link
Copy Markdown

@mijoharas mijoharas left a comment

Choose a reason for hiding this comment

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

🙌

@gustavolobo gustavolobo merged commit 9f77353 into meetcleo:master Mar 10, 2020
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.

librato-sidekiq drops other middlewares

4 participants