Skip to content
GitLab
Explore
Sign in
Register
nexedi
gitlab-ce
Repository
gitlab-ce
lib
gitlab
current_settings.rb
Find file
Blame
History
Permalink
Use ActiveRecord::Base.connection.active? and rescue any exception in connect_to_db?
· 55ab92c0
Rémy Coutable
authored
Jan 28, 2016
This ensures that rake tasks that don't need a DB connection can be run without one.
55ab92c0