summaryrefslogtreecommitdiff
path: root/config/boot.rb
Commit message (Collapse)AuthorAgeFilesLines
* Speed up boot timeSergey Alekseev2019-07-231-5/+1
| | | by removing an unused `begin ... rescue ... end` block. The block is no longer necessary after moving the bootsnap gem to the :default group in eedf735574b9f6c7c6c843943dd946ce84238236.
* Make Bootsnap available via ENABLE_BOOTSNAP=1Stan Hu2019-07-191-1/+1
| | | | | | | | | | | | | Bootsnap speeds up Rails loading and now ships by default with Rails 5.2 apps. We should promote this to a default gem and test it out in production. This will also make it possible for the Helm Charts to take advantage of this. It appears that Bootsnap with Rails 5.2.3 and all the GitLab CE gems loads fine on an ARM platform now, so it's possible that https://gitlab.com/gitlab-org/gitlab-ce/issues/34799 has been resolved. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/45230
* Get memory data after booting app in production62722-boot-app-in-ci-and-check-memory-ceAleksei Lipniagov2019-06-281-1/+1
| | | | | | Preload the app in `production` env, hit it with a single request, and gather total gem memory consumption data using `derailed exec perf:mem` from `derailed_benchmarks`. Present the result as MR metrics.
* Revert "Merge branch '62722-boot-app-in-ci-and-check-memory' into 'master'"Rémy Coutable2019-06-281-1/+1
| | | This reverts merge request !30031
* Get memory data after booting app in production62722-boot-app-in-ci-and-check-memoryAleksei Lipniagov2019-06-281-1/+1
| | | | | | Preload the app in `production` env, hit it with a single request, and gather total gem memory consumption data using `derailed exec perf:mem` from `derailed_benchmarks`. Present the result as MR metrics.
* Remove rails 4 support in CI, Gemfiles, bin/ and config/Jasper Maes2018-12-141-8/+1
|
* Eliminate duplicated wordsTakuya Noguchi2018-11-221-1/+1
| | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* Switch to Rails 5 by defaultJan Provaznik2018-11-141-2/+2
| | | | | * updates Gemfile * uses Rails 5 unless explicitly disabled
* Add bootsnap to development/test bundle and enable it if availableGabriel Mazetto2018-07-201-0/+5
| | | | This will enable bootsnap whenver the gem is available.
* [Rails5] Update files by `rails app:update`blackst0ne-rails5-update-files-by-rails-app-updateblackst0ne2018-03-221-3/+8
|
* Update Prometheus gem to version that explicitly calls `munmap`Paweł Chojnacki2017-07-191-5/+0
|
* Revert "Merge branch 'update_bootsnap_1.1.1' into 'master'"Marin Jankovski2017-07-101-6/+0
| | | | | This reverts commit 83ec509ce43c56da601335de5b9ea4422c785560, reversing changes made to 57f0677ad854b7b17bd57e1e3b0ef542ce322b56.
* Bump bootsnap to 1.1.1blackst0ne2017-06-271-0/+6
|
* Revert "Merge branch 'rs-bootsnap' into 'master'"rs-revert-bootsnapRobert Speicher2017-06-221-12/+0
| | | | | This reverts commit 95138a9c16a2d1905354d0f46381b3822b37863d, reversing changes made to 66aad16d1aaa426237e52ef19385385566f194dc.
* Do not enable prometheus metrics when data folder is not present.Pawel Chojnacki2017-06-191-1/+3
| | | | | | | + 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
* set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ruPawel Chojnacki2017-06-151-0/+3
|
* Add Bootsnap to all environments to reduce application startup timers-bootsnapRobert Speicher2017-06-081-0/+12
|
* Enable the Rubocop DeprecatedClassMethods copConnor Shea2016-05-081-1/+1
| | | | | | 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.
* init commitgitlabhq2011-10-091-0/+6