capistrano-sidekiq icon indicating copy to clipboard operation
capistrano-sidekiq copied to clipboard

Sidekiq config per host

Open klacointe opened this issue 9 years ago • 5 comments

Allow to configure sidekiq config file per host.

Follow the same logic as processes configuration.

klacointe avatar May 07 '15 09:05 klacointe

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 ?

lustercr avatar May 19 '15 23:05 lustercr

:+1:

@seuros any hope of this getting merged? I don't mind writing a patch to support these changes on the monit side.

okoriko avatar Aug 14 '15 05:08 okoriko

Sorry for delay. I will implement this feature this weekend max.

seuros avatar Aug 19 '15 11:08 seuros

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.

lustercr avatar Feb 19 '16 17:02 lustercr

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.

brentdodell avatar Mar 23 '16 14:03 brentdodell