summary refs log tree commit homepage
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2017-02-23 10:17:19 -0800
committerEric Wong <e@80x24.org>2017-02-23 19:26:30 +0000
commitc8f06be298d667ba85573668ee916680a258c2c7 (patch)
tree354569172baff9659dd529d0f5c9f4555a10ee8e
parent2af91a1fef70d6546ee03760011c170a082db667 (diff)
Fixes: 2af91a1fef70d654 ("Add after_worker_exit configuration option")
-rw-r--r--lib/unicorn/configurator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index 5bad925..1e2b6e4 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -162,7 +162,7 @@ class Unicorn::Configurator
   # sets after_worker_exit hook to a given block.  This block will be called
   # by the master process after a worker exits:
   #
-  #  after_fork do |server,worker,status|
+  #  after_worker_exit do |server,worker,status|
   #    # status is a Process::Status instance for the exited worker process
   #    unless status.success?
   #      server.logger.error("worker process failure: #{status.inspect}")