Merge pull request #441 from jeremyevans/avoid-unnecessary-thread-pool

Avoid creating an unnecessary thread pool
This commit is contained in:
Hiroshi SHIBATA 2022-07-20 09:43:26 +09:00 committed by GitHub
commit a1ba1ca70f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ module Rake
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"