Permalink
Browse files

Using ps_scale heroku command instead of set_workers to be compatible…

… with Cedar apps
  • Loading branch information...
1 parent b6ee7c3 commit aeb2c0fc99d3ebedaeb96ba8f765ef419c0ff836 @vicentemundim vicentemundim committed Sep 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/heroku-resque-auto-scale.rb
@@ -10,7 +10,7 @@ def workers
end
def workers=(qty)
- @@heroku.set_workers(ENV['HEROKU_APP'], qty)
+ @@heroku.ps_scale(ENV['HEROKU_APP'], :type => :worker, :qty => qty)
end
def job_count

0 comments on commit aeb2c0f

Please sign in to comment.