diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-05-10 19:46:20 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-05-22 01:54:21 -0700 |
commit | 341b6680e021586b1245ec3fb7e6ebf9b75a32f3 (patch) | |
tree | 802395315f3dbf19bda67a29ba92e5314aa3f12a /lib/unicorn | |
parent | 95718a5769e4ab06c86d0531e8a7c70fbd4c2f81 (diff) | |
download | unicorn-341b6680e021586b1245ec3fb7e6ebf9b75a32f3.tar.gz |
Diffstat (limited to 'lib/unicorn')
-rw-r--r-- | lib/unicorn/configurator.rb | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index 7724ff0..64647a3 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -181,32 +181,32 @@ module Unicorn # # +backlog+: this is the backlog of the listen() syscall. # - # Some operating systems allow negative values here to specify the - # maximum allowable value. In most cases, this number is only - # recommendation and there are other OS-specific tunables and - # variables that can affect this number. See the listen(2) - # syscall documentation of your OS for the exact semantics of - # this. + # Some operating systems allow negative values here to specify the + # maximum allowable value. In most cases, this number is only + # recommendation and there are other OS-specific tunables and + # variables that can affect this number. 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. + # 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. # - # Default: 1024 + # Default: 1024 # # +rcvbuf+, +sndbuf+: maximum send and receive buffer sizes of sockets # - # These correspond to the SO_RCVBUF and SO_SNDBUF settings which - # can be set via the setsockopt(2) syscall. Some kernels - # (e.g. Linux 2.4+) have intelligent auto-tuning mechanisms and - # there is no need (and it is sometimes detrimental) to specify them. + # These correspond to the SO_RCVBUF and SO_SNDBUF settings which + # can be set via the setsockopt(2) syscall. Some kernels + # (e.g. Linux 2.4+) have intelligent auto-tuning mechanisms and + # there is no need (and it is sometimes detrimental) to specify them. # - # See the socket API documentation of your operating system - # to determine the exact semantics of these settings and - # other operating system-specific knobs where they can be - # specified. + # See the socket API documentation of your operating system + # to determine the exact semantics of these settings and + # other operating system-specific knobs where they can be + # specified. # - # Defaults: operating system defaults + # Defaults: operating system defaults def listen(address, opt = { :backlog => 1024 }) address = expand_addr(address) if String === address |