summaryrefslogtreecommitdiff
path: root/config/puma.example.development.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/puma.example.development.rb')
-rw-r--r--config/puma.example.development.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/config/puma.example.development.rb b/config/puma.example.development.rb
index 490c940077a..aa217167860 100644
--- a/config/puma.example.development.rb
+++ b/config/puma.example.development.rb
@@ -10,12 +10,12 @@
#
# The default is "config.ru".
#
-rackup 'config.ru'
-pidfile '/home/git/gitlab/tmp/pids/puma.pid'
-state_path '/home/git/gitlab/tmp/pids/puma.state'
+rackup "config.ru"
+pidfile "/home/git/gitlab/tmp/pids/puma.pid"
+state_path "/home/git/gitlab/tmp/pids/puma.state"
-stdout_redirect '/home/git/gitlab/log/puma.stdout.log',
- '/home/git/gitlab/log/puma.stderr.log',
+stdout_redirect "/home/git/gitlab/log/puma.stdout.log",
+ "/home/git/gitlab/log/puma.stderr.log",
true
# Configure "min" to be the minimum number of threads to use to answer
@@ -37,7 +37,7 @@ queue_requests false
# Bind the server to "url". "tcp://", "unix://" and "ssl://" are the only
# accepted protocols.
-bind 'unix:///home/git/gitlab.socket'
+bind "unix:///home/git/gitlab.socket"
workers 2
@@ -51,7 +51,7 @@ end
before_fork do
# Signal to the puma killer
- Gitlab::Cluster::PumaWorkerKillerInitializer.start @config.options unless ENV['DISABLE_PUMA_WORKER_KILLER']
+ Gitlab::Cluster::PumaWorkerKillerInitializer.start @config.options unless ENV["DISABLE_PUMA_WORKER_KILLER"]
# Signal application hooks that we're about to fork
Gitlab::Cluster::LifecycleEvents.do_before_fork
@@ -68,7 +68,7 @@ end
preload_app!
-tag 'gitlab-puma-worker'
+tag "gitlab-puma-worker"
# Verifies that all workers have checked in to the master process within
# the given timeout. If not the worker process will be restarted. Default