summaryrefslogtreecommitdiff
path: root/config/puma.rb.example
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2013-07-04 11:09:19 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2013-07-04 11:14:03 +0200
commitae9e4a52c5b9e090c8df61978b5838a94408c265 (patch)
treee814b556f07114ac26e3c1ac585c33782c6e03f1 /config/puma.rb.example
parent7588186e8173f53a7f9b86d2b6959d7f94a3caac (diff)
downloadgitlab-ce-ae9e4a52c5b9e090c8df61978b5838a94408c265.tar.gz
Add cluster mode instructions to puma.rb.example
Diffstat (limited to 'config/puma.rb.example')
-rw-r--r--config/puma.rb.example7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/puma.rb.example b/config/puma.rb.example
index ad5e3e23501..08eace369fd 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.
#