• Stan Hu's avatar
    Fix database migrations when Redis is not running · 967afbdc
    Stan Hu authored
    If Redis were not running or USE_DB were set to false, the
    application settings retrieval would fail completely. This
    change only attempts to use the cache if the system actually
    wants to connect to the DB and rescues any failures in talking to
    Redis.
    
    Closes #17557
    
    (cherry picked from commit c600cf83)
    967afbdc
Name
Last commit
Last update
..
config Loading commit data...
controllers Loading commit data...
factories Loading commit data...
features Loading commit data...
finders Loading commit data...
fixtures Loading commit data...
helpers Loading commit data...
initializers Loading commit data...
javascripts Loading commit data...
lib Loading commit data...
mailers Loading commit data...
models Loading commit data...
requests Loading commit data...
routing Loading commit data...
services Loading commit data...
support Loading commit data...
tasks/gitlab Loading commit data...
views Loading commit data...
workers Loading commit data...
factories_spec.rb Loading commit data...
rails_helper.rb Loading commit data...
spec_helper.rb Loading commit data...
teaspoon_env.rb Loading commit data...