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

Monit configuration respects options_per_process #113

Merged
merged 1 commit into from Oct 12, 2015
Merged

Monit configuration respects options_per_process #113

merged 1 commit into from Oct 12, 2015

Conversation

kazjote
Copy link
Contributor

@kazjote kazjote commented Oct 12, 2015

No description provided.

@@ -119,6 +119,10 @@ namespace :sidekiq do
end
end

def sidekiq_options_per_process
fetch(:sidekiq_options_per_process) || []
Copy link
Owner

Choose a reason for hiding this comment

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

fetch accepts a second argument that is returned if the key is nil

fetch(:sidekiq_options_per_process,[])

@seuros
Copy link
Owner

seuros commented Oct 12, 2015

Can you update the readme ?

@christoph-buente
Copy link

It is just passing the same options_per_process to the monitor start stop commands that are passed to the initial start command. It is plainly missing in the monit template.

seuros added a commit that referenced this pull request Oct 12, 2015
Monit configuration respects options_per_process
@seuros seuros merged commit e3e74ef into seuros:master Oct 12, 2015
@seuros
Copy link
Owner

seuros commented Oct 12, 2015

Thanks you 💚

@kazjote
Copy link
Contributor Author

kazjote commented Oct 13, 2015

Thanks for maintaining this great project! 👍

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.

3 participants