about summary refs log tree commit homepage
path: root/lib/yahns/server.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-10-30 21:05:21 +0000
committerEric Wong <normalperson@yhbt.net>2013-10-31 05:04:35 +0000
commit5544418af3fb810ef90f33bcf88a434cd0349dc8 (patch)
tree31ccc85fac7a73c47ddb7c051bd6d2e4f74f7584 /lib/yahns/server.rb
parentd58bbc251d5b91ede5af220f17bc0359789370d3 (diff)
downloadyahns-5544418af3fb810ef90f33bcf88a434cd0349dc8.tar.gz
It was totally unnecessary and just made things hard-to-follow.
Diffstat (limited to 'lib/yahns/server.rb')
-rw-r--r--lib/yahns/server.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/yahns/server.rb b/lib/yahns/server.rb
index 92adf52..330bcc8 100644
--- a/lib/yahns/server.rb
+++ b/lib/yahns/server.rb
@@ -14,9 +14,9 @@ class Yahns::Server # :nodoc:
   attr_writer :before_exec
   attr_writer :worker_processes
   attr_writer :shutdown_timeout
-  attr_writer :worker_atfork_prepare
-  attr_writer :worker_atfork_parent
-  attr_writer :worker_atfork_child
+  attr_writer :atfork_prepare
+  attr_writer :atfork_parent
+  attr_writer :atfork_child
   include Yahns::SocketHelper
 
   def initialize(config)
@@ -32,7 +32,7 @@ class Yahns::Server # :nodoc:
     @pid = nil
     @worker_processes = nil
     @before_exec = nil
-    @worker_atfork_prepare = @worker_atfork_parent = @worker_atfork_child = nil
+    @atfork_prepare = @atfork_parent = @atfork_child = nil
     @user = nil
     @queues = []
     @wthr = []