about summary refs log tree commit homepage
path: root/lib/rainbows/thread_spawn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/thread_spawn.rb')
-rw-r--r--lib/rainbows/thread_spawn.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/rainbows/thread_spawn.rb b/lib/rainbows/thread_spawn.rb
index 36968d8..af05476 100644
--- a/lib/rainbows/thread_spawn.rb
+++ b/lib/rainbows/thread_spawn.rb
@@ -44,10 +44,7 @@ module Rainbows
           rescue Errno::EINTR, Errno::ECONNABORTED
             next
           end
-          threads.add(Thread.new(c) { |c|
-            Thread.current[:t] = Time.now
-            process_client(c)
-          })
+          threads.add(Thread.new(c) { |c| process_client(c) })
         end
       end
       join_spawned_threads(threads)