From c8f06be298d667ba85573668ee916680a258c2c7 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 23 Feb 2017 10:17:19 -0800 Subject: Fix code example in after_worker_exit documentation Fixes: 2af91a1fef70d654 ("Add after_worker_exit configuration option") --- lib/unicorn/configurator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") -- cgit v1.2.3-24-ge0c7