mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
Merge branch '104525318-history_import' into staging
This commit is contained in:
commit
f3cfd694c6
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