mirror of
https://github.com/internetee/registry.git
synced 2025-07-04 10:13:34 +02:00
Story#108602614 - safier nameserver history creation
This commit is contained in:
parent
440cfdd122
commit
e3e01fcd51
2 changed files with 4 additions and 3 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue