diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-19 12:08:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-19 12:08:45 +0300 |
commit | 035cd5ee5e42fda4a896ed43147ebf455fa2f5ba (patch) | |
tree | 447d9362dd26fb42828d13777ffc821d7129dc0d /config/application.rb | |
parent | 7f12b2dc7406ceb8a9b1bbd730b38ad70fc88405 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/config/application.rb b/config/application.rb index 61f38787c1d..b758f2df857 100644 --- a/config/application.rb +++ b/config/application.rb @@ -504,19 +504,6 @@ module Gitlab end end - # We know Rails closes database connections in the - # active_record.clear_active_connections initializer, so only log database - # connections opened after that. - initializer :start_logging_new_postgresql_connections, after: :finisher_hook do - ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.warn_on_new_connection = true - end - - # It is legitimate to open database connections after initializers so stop - # logging - initializer :stop_logging_new_postgresql_connections, after: :set_routes_reloader_hook do - ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.warn_on_new_connection = false - end - # Add assets for variants of GitLab. They should take precedence over CE. # This means if multiple files exist, e.g.: # |