Skip to content

Commit

Permalink
Using ps_scale heroku command instead of set_workers to be compatible…
Browse files Browse the repository at this point in the history
… with Cedar apps
  • Loading branch information
vicentemundim committed Sep 17, 2012
1 parent b6ee7c3 commit aeb2c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/heroku-resque-auto-scale.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def workers
end end


def workers=(qty) def workers=(qty)
@@heroku.set_workers(ENV['HEROKU_APP'], qty) @@heroku.ps_scale(ENV['HEROKU_APP'], :type => :worker, :qty => qty)
end end


def job_count def job_count
Expand Down

0 comments on commit aeb2c0f

Please sign in to comment.