* Patch: Fix code example in after_worker_exit documentation
@ 2017-02-23 18:48 Jeremy Evans
2017-02-23 20:21 ` Eric Wong
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Evans @ 2017-02-23 18:48 UTC (permalink / raw)
To: unicorn-public
Here's a separate commit for the documentation fix.
From 6efb4b8e07a0459180579b72fac5003e424837c0 Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@jeremyevans.net>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Patch: Fix code example in after_worker_exit documentation
2017-02-23 18:48 Patch: Fix code example in after_worker_exit documentation Jeremy Evans
@ 2017-02-23 20:21 ` Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2017-02-23 20:21 UTC (permalink / raw)
To: Jeremy Evans; +Cc: unicorn-public
Jeremy Evans <code@jeremyevans.net> wrote:
> Here's a separate commit for the documentation fix.
Thanks, pushed as c8f06be298d667ba85573668ee916680a258c2c7
to 'master'. I added a "Fixes: " tag to link it the original.
> From 6efb4b8e07a0459180579b72fac5003e424837c0 Mon Sep 17 00:00:00 2001
Hint: you can omit the above line, and add "----8<----" so the
applier can use "git am --scissors" without having to just part
of the message. It's no big deal, but I guess I'll do what I
can to promote --scissors as it's not too well-known.
(and usually, the entire email is the patch for "git am")
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-23 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-23 18:48 Patch: Fix code example in after_worker_exit documentation Jeremy Evans
2017-02-23 20:21 ` Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).