capistrano-sidekiq
capistrano-sidekiq copied to clipboard
Ability to set a different configuration file per role.
Added role as a parameter of the start method, it will try to check if there was a specific config set for the given role using the convention #{role_name}_config
otherwise will check the default :sidekiq_config.
it brings the capability to have different roles processing a separated set of queues from the config. i use this so I can isolate heavier queues such exports on their own infrastructure.
I hope this makes sense to be in the core.
@lustercr , this is broken with monit enabled.
You can test it out as such;
# Capfile
..
..
require 'capistrano/sidekiq'
require 'capistrano/sidekiq/monit'