thread_timeout: fix bad comparison
commit7e0dc42f7084e1719456a80b2e44049133c2e8b7
authorEric Wong <normalperson@yhbt.net>
Mon, 20 Dec 2010 00:54:17 +0000 (20 00:54 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 20 Dec 2010 03:42:55 +0000 (20 03:42 +0000)
treec9840f4eb56cc365664425b40b94978f43c40ed8
parent886e0a006d9e8e9c586beae28ed4dc5097064e90
thread_timeout: fix bad comparison

This was causing unrelated requests to get killed every
+timeout+ seconds, instead of only the ones that were
running too long.

Noticed-by: ghazel@gmail.com
ref:
http://mid.gmane.org/AANLkTi=7OhyTwkHsp_rXU7Gp1PokihiQ9bJigpO-BfN6@mail.gmail.com
lib/rainbows/thread_timeout.rb
t/t9100-thread-timeout.sh
t/t9101-thread-timeout-threshold.sh