Skip to content

Commit

Permalink
Fixed resque recipe for Ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
emachnic committed Sep 25, 2012
1 parent 8462d12 commit 2823d1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cookbooks/resque/recipes/default.rb
Expand Up @@ -10,9 +10,9 @@
end end


case node[:ec2][:instance_type] case node[:ec2][:instance_type]
when 'm1.small': worker_count = 2 when 'm1.small' then worker_count = 2
when 'c1.medium': worker_count = 3 when 'c1.medium'then worker_count = 3
when 'c1.xlarge': worker_count = 8 when 'c1.xlarge' then worker_count = 8
else worker_count = 4 else worker_count = 4
end end


Expand Down

0 comments on commit 2823d1b

Please sign in to comment.