mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
3af00a65e6
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.