Story#108602614 - safier nameserver history creation

This commit is contained in:
Vladimir Krylov 2016-01-19 10:00:53 +02:00
parent 440cfdd122
commit e3e01fcd51
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@ namespace :import do
end
def parallel_import all_ids
thread_pool = (Parallel.processor_count rescue 4) - 1
thread_pool = (Parallel.processor_count rescue 4)
threads = []
all_ids.each_with_index do |one_id, i|