• Stan Hu's avatar
    Fix database migrations when Redis is not running · 43d788ce
    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)
    43d788ce
current_settings.rb 2.59 KB