From a96a52def7ecc4404fa5e97c45feb19fa0c21dd7 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 17 Sep 2010 11:58:34 -0700 Subject: [PATCH] Run 3 thins --- config/sprinkle/conf/nginx.conf | 2 ++ config/thin.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/sprinkle/conf/nginx.conf b/config/sprinkle/conf/nginx.conf index da27b393b..eba9fa45b 100644 --- a/config/sprinkle/conf/nginx.conf +++ b/config/sprinkle/conf/nginx.conf @@ -33,6 +33,8 @@ http { # gzip_disable "MSIE [1-6]\.(?!.*SV1)"; upstream thin_cluster { server unix:/tmp/thin.0.sock; + server unix:/tmp/thin.1.sock; + server unix:/tmp/thin.2.sock; } server { diff --git a/config/thin.yml b/config/thin.yml index 7a74769cf..6a00fdb6c 100644 --- a/config/thin.yml +++ b/config/thin.yml @@ -14,7 +14,7 @@ require: [] max_persistent_conns: 512 environment: production -servers: 1 +servers: 3 daemonize: true #chdir: /usr/applications/localhash/current socket: /tmp/thin.sock