summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-09 15:24:55 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-09 15:24:55 -0700
commitbfc3aae9b85b520c87539fdf203587c3a1c9453f (patch)
tree04c67b11f685346f17e5d94015d5593db58d4ca9
parent4d0cf2bcbc12feac008884af8174301de6b555d3 (diff)
-rw-r--r--lib/unicorn/configurator.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index aa92db7..dd9ae3b 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -90,6 +90,10 @@ module Unicorn
     # backlog setting).  Some operating systems allow negative values
     # here to specify the maximum allowable value.  See the listen(2)
     # syscall documentation of your OS for the exact semantics of this.
+    #
+    # If you are running unicorn on multiple machines, lowering this number
+    # can help your load balancer detect when a machine is overloaded
+    # and give requests to a different machine.
     def backlog(nr)
       Integer === nr or raise ArgumentError,
          "not an integer: backlog=#{nr.inspect}"