Skip to content

Commit

Permalink
Support sidekiq_concurrency option for capistrano 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimo committed Mar 18, 2015
1 parent bd6dd05 commit 5bda7f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/capistrano/tasks/capistrano2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def start_process(pid_file, idx)
args.push "--tag #{fetch(:sidekiq_tag)}" if fetch(:sidekiq_tag)
args.push "--logfile #{fetch(:sidekiq_log)}" if fetch(:sidekiq_log)
args.push "--config #{fetch(:sidekiq_config)}" if fetch(:sidekiq_config)
args.push "--concurrency #{fetch(:sidekiq_concurrency)}" if fetch(:sidekiq_concurrency)
fetch(:sidekiq_queue).each do |queue|
args.push "--queue #{queue}"
end if fetch(:sidekiq_queue)
Expand Down

0 comments on commit 5bda7f5

Please sign in to comment.