Skip to content

Commit

Permalink
silly rabbit, threadpool sizes should be numbers not strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarod Reid committed Aug 7, 2009
1 parent 44c6361 commit 491ae82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nanite/dispatcher.rb
Expand Up @@ -10,7 +10,7 @@ def initialize(amq, registry, serializer, identity, options)
@identity = identity
@options = options
@evmclass = EM
@evmclass.threadpool_size = @options[:threadpool_size] || 20
@evmclass.threadpool_size = @options[:threadpool_size].to_i || 20
end

def dispatch(deliverable)
Expand Down

0 comments on commit 491ae82

Please sign in to comment.