Commit graph

5 commits

Author SHA1 Message Date
Pawel Chojnacki
ed5c7d11b1 Do not enable prometheus metrics when data folder is not present.
+ Set defaults correctly only for when not in production or staging
+ set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ru

Test prometheus metrics unmemoized
2017-06-19 18:52:23 +02:00
Pawel Chojnacki
f982fef9b5 set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ru 2017-06-15 23:41:47 +02:00
Robert Speicher
f331bbefec Add Bootsnap to all environments to reduce application startup time 2017-06-08 18:26:23 -04:00
Connor Shea
9cc0937b3a Enable the Rubocop DeprecatedClassMethods cop
This reports uses of `File.exists?` and `Dir.exists?`, which were both
deprecated in Ruby and will eventually be removed in favor of
`.exist?`. Also fixes all existing uses of the deprecated methods.
2016-05-08 15:33:34 -06:00
gitlabhq
9ba1224867 init commit 2011-10-09 00:36:38 +03:00