Skip to content

Commit

Permalink
Merge pull request seuros#72 from mrsimo/cap2-concurrency
Browse files Browse the repository at this point in the history
Support sidekiq_concurrency option for capistrano 2
  • Loading branch information
seuros committed Mar 18, 2015
2 parents bd6dd05 + 5bda7f5 commit a0581c8
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 a0581c8

Please sign in to comment.