about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-11-18 03:58:03 +0000
committerEric Wong <e@80x24.org>2015-11-21 01:43:27 +0000
commit1faa89bcd3ac848a15a141b6e92ac5075ecefdd2 (patch)
treedfb57091a421b07965ab479fef6faf86f8498abd
parent1a2a82721bf845a3f7e7a3972bc0f41befb25c41 (diff)
We'll need this for unicorn 5, as they dropped this publically
accessible attribute while retaining the ivar.  Eventually we
may not have to check this attribute at all, instead detecting
parent death via worker pipe.
-rw-r--r--lib/rainbows/http_server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb
index 09f2589..429539c 100644
--- a/lib/rainbows/http_server.rb
+++ b/lib/rainbows/http_server.rb
@@ -8,6 +8,7 @@ class Rainbows::HttpServer < Unicorn::HttpServer
   attr_accessor :client_header_buffer_size
   attr_accessor :client_max_body_size
   attr_reader :use
+  attr_reader :master_pid
 
   def self.setup(block)
     Rainbows.server.instance_eval(&block)