about summary refs log tree commit homepage
path: root/lib/rainbows/event_machine/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/event_machine/client.rb')
-rw-r--r--lib/rainbows/event_machine/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/event_machine/client.rb b/lib/rainbows/event_machine/client.rb
index 3312f5d..d8ed6df 100644
--- a/lib/rainbows/event_machine/client.rb
+++ b/lib/rainbows/event_machine/client.rb
@@ -49,7 +49,7 @@ class Rainbows::EventMachine::Client < EM::Connection
       @state = :headers
       em_write_response(response, true)
       if @buf.empty?
-        set_comm_inactivity_timeout(G.kato)
+        set_comm_inactivity_timeout(Rainbows.keepalive_timeout)
       elsif @body.nil?
         EM.next_tick { receive_data(nil) }
       end