Commit graph

6 commits

Author SHA1 Message Date
Robert Speicher
171e1bb445 Revert "Merge branch 'rs-bootsnap' into 'master'"
This reverts commit 95138a9c16, reversing
changes made to 66aad16d1a.
2017-06-22 11:54:35 -05:00
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