lib/rainbows/configurator.rb in rainbows-5.0.0.5.ge717 vs lib/rainbows/configurator.rb in rainbows-5.1.0
- old
+ new
@@ -4,9 +4,14 @@
# {Unicorn::Configurator}[https://bogomips.org/unicorn/Unicorn/Configurator.html]
# \Rainbows!-specific configuration options must be inside a the Rainbows!
# block, otherwise Unicorn::Configurator directives may be used anywhere
# in the file.
#
+# Warning: The "timeout" directive in unicorn is far more dangerous
+# in Rainbows!, since ALL requests running on a process will be lost
+# on worker death, not just one. Instead, handle application-level
+# timeouts yourself: https://bogomips.org/unicorn/Application_Timeouts.html
+#
# Rainbows! do
# use :ThreadSpawn # concurrency model to use
# worker_connections 400
# keepalive_timeout 0 # zero disables keepalives entirely
# client_max_body_size 5*1024*1024 # 5 megabytes