From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS40173 216.86.168.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 40B2A2022D for ; Thu, 23 Feb 2017 18:48:14 +0000 (UTC) Received: from battleground.jeremyevans.local (unknown [73.90.99.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4EC23509B6 for ; Thu, 23 Feb 2017 13:48:13 -0500 (EST) Received: from jeremyevans.local (speedstar.jeremyevans.local [10.187.8.2]) by battleground.jeremyevans.local (OpenSMTPD) with ESMTP id d3aa8a9a for ; Thu, 23 Feb 2017 10:48:12 -0800 (PST) Date: Thu, 23 Feb 2017 10:48:12 -0800 From: Jeremy Evans To: unicorn-public@bogomips.org Subject: Patch: Fix code example in after_worker_exit documentation Message-ID: <20170223184812.GB67612@jeremyevans.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) List-Id: Here's a separate commit for the documentation fix. >From 6efb4b8e07a0459180579b72fac5003e424837c0 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 23 Feb 2017 10:17:19 -0800 Subject: [PATCH] Fix code example in after_worker_exit documentation --- 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 @@ def after_fork(*args, &block) # 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}") -- 2.11.0