summaryrefslogtreecommitdiff
path: root/config.ru
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-06-15 23:41:47 +0200
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-15 23:41:47 +0200
commitf982fef9b523a87ff7e48158bd20713789a8ee89 (patch)
tree26153f9e03a817fcde177c7437f69d59ff69b118 /config.ru
parent75d425e4fcfb884960e179d5268a14829e183a70 (diff)
downloadgitlab-ce-f982fef9b523a87ff7e48158bd20713789a8ee89.tar.gz
set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ru
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru3
1 files changed, 0 insertions, 3 deletions
diff --git a/config.ru b/config.ru
index 89aba462f19..065ce59932f 100644
--- a/config.ru
+++ b/config.ru
@@ -15,9 +15,6 @@ if defined?(Unicorn)
end
end
-# set default directory for multiproces metrics gathering
-ENV['prometheus_multiproc_dir'] ||= 'tmp/prometheus_multiproc_dir'
-
require ::File.expand_path('../config/environment', __FILE__)
map ENV['RAILS_RELATIVE_URL_ROOT'] || "/" do