-
Notifications
You must be signed in to change notification settings - Fork 307
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 config per host #81
base: master
Are you sure you want to change the base?
Conversation
5ca91e0
to
02fbc09
Compare
I was testing these changes. gem 'capistrano-sidekiq', github: 'klacointe/capistrano-sidekiq', :branch => "sidekiq_config_per_host" and this is how my deploy.rb file looks like set :sidekiq_role, [:sidekiq_readonly, :sidekiq_general]
set :sidekiq_general_config, "#{current_path}/config/sidekiqXXX.yml"
set :sidekiq_readonly_config, "#{current_path}/config/sidekiq_YYYY.yml"
server 'serverXXXXX', roles: [:sidekiq_general]
server 'serverYYYYY', roles: [:sidekiq_readonly] worked fine for me. @seuros are we planning to test/merge this any soon ? |
👍 @seuros any hope of this getting merged? |
Sorry for delay. I will implement this feature this weekend max. |
Hi @seuros, noticed that you added support to "Different number of processes per host" do this also mean that we can specify a different config file ? my use case is that i have different machines on which they process specific job times. some of my machines only process mails others exports, etc thanks for your answer. |
Hi @seuros. I see that this PR wasn't merged. Just wondering if the same functionality was integrated elsewhere. |
Allow to configure sidekiq config file per host.
Follow the same logic as processes configuration.