about summary refs log tree commit homepage
path: root/lib/unicorn
diff options
context:
space:
mode:
authorEric Wong <bofh@yhbt.net>2023-09-10 20:14:15 +0000
committerEric Wong <BOFH@YHBT.net>2023-09-11 19:09:16 +0000
commit78c9aa8813ca4eda94bfc1cddb2d62f09891308a (patch)
treef2c4b88b6ffeb016e82d866596d9a7d5fd089f88 /lib/unicorn
parent05028146b5e69c566663fdab9f8b92c6145a791a (diff)
downloadunicorn-78c9aa8813ca4eda94bfc1cddb2d62f09891308a.tar.gz
The damage unicorn has done to the entire Ruby, Rack and Rails
ecosystems with its ability to tolerate buggy code is
unforgivable.  Update the documentation to further discourage
its use and clarify a few wordings noticed along the way.
Diffstat (limited to 'lib/unicorn')
-rw-r--r--lib/unicorn/configurator.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index ecdf03e..b21a01d 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -216,7 +216,12 @@ class Unicorn::Configurator
     set_hook(:before_exec, block_given? ? block : args[0], 1)
   end
 
-  # sets the timeout of worker processes to +seconds+.  Workers
+  # Strongly consider using link:/Application_Timeouts.html instead
+  # of this misfeature.  This misfeature has done decades of damage
+  # to Ruby since it demotivates the use of fine-grained timeout
+  # mechanisms.
+  #
+  # Sets the timeout of worker processes to +seconds+.  Workers
   # handling the request/app.call/response cycle taking longer than
   # this time period will be forcibly killed (via SIGKILL).  This
   # timeout is enforced by the master process itself and not subject