Displaying 1 result from an estimated 1 matches for "unicorn_failov".
Did you mean:
unicorn_failover
2009 Sep 19
0
[CFT] multi server failover setup
...internal_ip}:8080", :backlog => 1024 # fail slowly
# the exact numbers for the :backlog values are flexible
# the idea here is just to have a very low :backlog for the
# UNIX domain socket and big one as a fallback for the
# TCP socket
And the nginx configs:
upstream unicorn_failover {
# primary connection, "fail_timeout=0" is to ensure that
# we always *try* to use the UNIX socket on every request
# that comes in:
server unix:/tmp/sock fail_timeout=0;
# failover connections, "backup" ensures these will not
# be used un...