Moved back to 8 threads.

This commit is contained in:
Martin Edenhofer 2015-04-11 17:26:54 +02:00
parent bf6a213651
commit 63e8405a99

View file

@ -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