Thread* models: cleanup timeout management
commit09535c1bd412bd66f93723c2c1aa7aacc2e091c3
authorEric Wong <normalperson@yhbt.net>
Tue, 6 Oct 2009 03:16:18 +0000 (5 20:16 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 6 Oct 2009 03:16:35 +0000 (5 20:16 -0700)
treeb31bf862247995887a41f06d23e62b416bbf461a
parente4057cf951a32c3a29b66dae1c1abea7989889e8
Thread* models: cleanup timeout management

Ensure we reset the per-thread time Thread.current[:t] with each
connection so we don't timeout long-lived connections.
lib/rainbows/base.rb
lib/rainbows/thread_pool.rb
lib/rainbows/thread_spawn.rb