- 11 Apr, 2017 1 commit
-
-
Tiago Botelho authored
-
- 17 Mar, 2017 1 commit
-
-
Yorick Peterse authored
This returns the ActiveRecord configuration for the current environment. While CE doesn't use this very often, EE will use it in a few places for the database load balancing code. I'm adding this to CE so we don't end up with merge conflicts in this file.
-
- 23 Feb, 2017 4 commits
-
-
Douwe Maan authored
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
-
Douwe Maan authored
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
-
Douwe Maan authored
-
Douwe Maan authored
-
- 22 Feb, 2017 1 commit
-
-
Yorick Peterse authored
This allows you to set a custom host when calling Gitlab::Database.create_connection_pool. This is necessary for load balancing as in this case we want to inherit all settings except for the hostname.
-
- 13 Feb, 2017 2 commits
-
-
Lin Jen-Shin authored
-
Yorick Peterse authored
We don't need to connect when requesting the name of the database adapter. This in turn should prevent us from requesting/leaking connections just by asking whether we're using PostgreSQL or MySQL.
-
- 06 Feb, 2017 1 commit
-
-
Douwe Maan authored
-
- 06 Jun, 2016 1 commit
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 15 Feb, 2016 1 commit
-
-
Robert Speicher authored
-
- 02 Feb, 2016 1 commit
-
-
Robert Speicher authored
Closes #12900
-
- 09 Dec, 2015 1 commit
-
-
Douwe Maan authored
-
- 07 Oct, 2015 1 commit
-
-
Yorick Peterse authored
These two methods remove the need for manually going into ActiveRecord::Base.connection all over the place.
-