capistrano-sidekiq
capistrano-sidekiq copied to clipboard
Sidekiq config per host
Allow to configure sidekiq config file per host.
Follow the same logic as processes configuration.
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 ?
:+1:
@seuros any hope of this getting merged? I don't mind writing a patch to support these changes on the monit side.
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.
Sorry for delay. I will implement this feature this weekend max.
Hi @seuros. I see that this PR wasn't merged. Just wondering if the same functionality was integrated elsewhere.