Skip to content

Commit

Permalink
set threads by an env var
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed Feb 6, 2013
1 parent 665a8c2 commit 72fdf9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.ru
Expand Up @@ -6,7 +6,7 @@ require './lib//bundler_api/consumer_pool'
$stdout.sync = true
Thread.abort_on_exception = true

NUM_THREADS = 3
NUM_THREADS = ENV['THREADS'].to_i

pool = BundlerApi::ConsumerPool.new(NUM_THREADS)

Expand Down

0 comments on commit 72fdf9a

Please sign in to comment.