about summary refs log tree commit homepage
path: root/lib/rainbows/revactor/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/revactor/client.rb')
-rw-r--r--lib/rainbows/revactor/client.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/revactor/client.rb b/lib/rainbows/revactor/client.rb
index c587589..c1cb7aa 100644
--- a/lib/rainbows/revactor/client.rb
+++ b/lib/rainbows/revactor/client.rb
@@ -4,8 +4,8 @@ require 'fcntl'
 class Rainbows::Revactor::Client
   autoload :TeeSocket, 'rainbows/revactor/client/tee_socket'
   RD_ARGS = {}
-  Rainbows.keepalive_timeout > 0 and
-    RD_ARGS[:timeout] = Rainbows.keepalive_timeout
+  Rainbows.server.keepalive_timeout > 0 and
+    RD_ARGS[:timeout] = Rainbows.server.keepalive_timeout
   attr_reader :kgio_addr
 
   def initialize(client)