From ae9e4a52c5b9e090c8df61978b5838a94408c265 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Thu, 4 Jul 2013 11:09:19 +0200 Subject: [PATCH] Add cluster mode instructions to puma.rb.example --- config/puma.rb.example | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/config/puma.rb.example b/config/puma.rb.example index ad5e3e2..08eace3 100644 --- a/config/puma.rb.example +++ b/config/puma.rb.example @@ -93,6 +93,13 @@ bind "unix://#{application_path}/tmp/sockets/gitlab.socket" # # workers 2 +# GitLab cluster mode recommendations +# If you have more than 1 GB RAM, uncomment one of the following lines: +# +# workers 2 # if you have at least 1.5 GB RAM +# workers 3 # if you have at least 2 GB RAM +# workers 4 # if you have at least 2.5 GB RAM + # Code to run when a worker boots to setup the process before booting # the app. # -- libgit2 0.21.2