• Stan Hu's avatar
    Only turn on Sidekiq throttling if application settings exists · 5a65d9d5
    Stan Hu authored
    If the database has not been migrated properly, the initializer for Sidekiq
    will fail to start and cause the whole Rails server to crash. This change
    checks the existence for the column and allows Rails to start even
    if the setting has not been added as a database column.
    
    Closes #24452
    5a65d9d5
application_setting.rb 8.67 KB