Skip to content

Commit

Permalink
Merge pull request #441 from jeremyevans/avoid-unnecessary-thread-pool
Browse files Browse the repository at this point in the history
Avoid creating an unnecessary thread pool
  • Loading branch information
hsbt authored Jul 20, 2022
2 parents 84bb052 + 98dcc9d commit a1ba1ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rake/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def run_with_threads

yield

thread_pool.join
thread_pool.join if defined?(@thread_pool)
if options.job_stats
stats = thread_pool.statistics
puts "Maximum active threads: #{stats[:max_active_threads]} + main"
Expand Down

0 comments on commit a1ba1ca

Please sign in to comment.