Browse files

Fixed delayed_job recipe for Ruby 1.9

  • Loading branch information...
1 parent 3e4cc71 commit 8462d1285be368f8fa17f9825d03cc44330f73a4 @emachnic emachnic committed Sep 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 cookbooks/delayed_job/recipes/default.rb
View
6 cookbooks/delayed_job/recipes/default.rb
@@ -11,9 +11,9 @@
worker_count = 1
else
case node[:ec2][:instance_type]
- when 'm1.small': worker_count = 2
- when 'c1.medium': worker_count = 4
- when 'c1.xlarge': worker_count = 8
+ when 'm1.small' then worker_count = 2
+ when 'c1.medium' then worker_count = 4
+ when 'c1.xlarge' then worker_count = 8
else
worker_count = 2
end

0 comments on commit 8462d12

Please sign in to comment.