about summary refs log tree commit homepage
path: root/lib/rainbows/rev/heartbeat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/rev/heartbeat.rb')
-rw-r--r--lib/rainbows/rev/heartbeat.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/rev/heartbeat.rb b/lib/rainbows/rev/heartbeat.rb
index da1a1e2..f348a08 100644
--- a/lib/rainbows/rev/heartbeat.rb
+++ b/lib/rainbows/rev/heartbeat.rb
@@ -11,7 +11,7 @@ module Rainbows
     class Heartbeat < ::Rev::TimerWatcher
 
       def on_timer
-        if (ot = G.kato) > 0
+        if (ot = G.kato) >= 0
           ot = Time.now - ot
           KATO.delete_if { |client, time| time < ot and client.timeout? }
         end