From 63e8405a99a64d5877cdf8a8d567a69764d880c9 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 11 Apr 2015 17:26:54 +0200 Subject: [PATCH] Moved back to 8 threads. --- lib/import/otrs2.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/import/otrs2.rb b/lib/import/otrs2.rb index 7a05695ea..63b7a927a 100644 --- a/lib/import/otrs2.rb +++ b/lib/import/otrs2.rb @@ -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