about summary refs log tree commit homepage
path: root/lib/yahns/server.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-10-22 07:40:24 +0000
committerEric Wong <normalperson@yhbt.net>2013-10-22 07:40:24 +0000
commite50fd7f05624f293a2b5c776a0873f6d81185096 (patch)
tree487b5d4956cb19365b99e4e425a53ca33b995f8d /lib/yahns/server.rb
parent35a72997899616b6d453e6dbf6a7d4477103dd1a (diff)
downloadyahns-e50fd7f05624f293a2b5c776a0873f6d81185096.tar.gz
Diffstat (limited to 'lib/yahns/server.rb')
-rw-r--r--lib/yahns/server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/server.rb b/lib/yahns/server.rb
index 3bdb2c0..b4fe5a0 100644
--- a/lib/yahns/server.rb
+++ b/lib/yahns/server.rb
@@ -306,7 +306,7 @@ class Yahns::Server # :nodoc:
     end
 
     # spin up applications (which are preload: false)
-    @config.app_ctx.each { |ctx| ctx.after_fork_init }
+    @config.app_ctx.each(&:after_fork_init)
 
     # spin up acceptor threads, clients flow into worker queues after this
     @listeners.each do |l|