summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-03-24 00:30:29 +0000
committerEric Wong <e@80x24.org>2017-03-24 00:30:50 +0000
commitd60cab29c91aec17859539f389e343f799b6f1b9 (patch)
treefc4c8d78a7e8ebb5825ca568a4ed9d769494f1eb
parent4bdae8a6a0fecee9633780cb87057421e62f23ae (diff)
Followup-to: 650e01ab0b118803486b56f3ee59521d59042dae
  ("doc: add version annotations for new features")
-rw-r--r--lib/unicorn/configurator.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index 5203537..7fb9030 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -172,6 +172,8 @@ class Unicorn::Configurator
   #      server.logger.error("worker process failure: #{status.inspect}")
   #    end
   #  end
+  #
+  # after_worker_exit is only available in unicorn 5.3.0+
   def after_worker_exit(*args, &block)
     set_hook(:after_worker_exit, block_given? ? block : args[0], 3)
   end