Moved back to 8 threads.
This commit is contained in:
parent
bf6a213651
commit
63e8405a99
1 changed files with 4 additions and 4 deletions
|
@ -358,10 +358,10 @@ module Import::OTRS2
|
|||
end
|
||||
|
||||
Thread.abort_on_exception = true
|
||||
thread_count = 10
|
||||
threads = {}
|
||||
count = 0
|
||||
locks = { :User => {} }
|
||||
thread_count = 8
|
||||
threads = {}
|
||||
count = 0
|
||||
locks = { :User => {} }
|
||||
(1..thread_count).each {|thread|
|
||||
threads[thread] = Thread.new {
|
||||
Thread.current[:thread_no] = thread
|
||||
|
|
Loading…
Reference in a new issue