This fixes a condition where an intermittent db connection could cause invalid site settings to be stored It also removes a catch all we had. Somewhere around Rails 5 `db:create` started wanting full environment this is a problem for Discourse since it needs to boot up data from the db. This removes the catch all and surgically adds a db / redis bypass to db:create task. |
||
|---|---|---|
| .. | ||
| db_provider.rb | ||
| defaults_provider.rb | ||
| deprecated_settings.rb | ||
| local_process_provider.rb | ||
| type_supervisor.rb | ||
| validations.rb | ||
| yaml_loader.rb | ||