Merge branch '54719-enable-hashed-storage-by-default-in-development-mode' into 'master'

Resolve "Enable Hashed Storage by default in development mode"

Closes #54719

See merge request gitlab-org/gitlab-ce!23889
This commit is contained in:
Douglas Barbosa Alexandre 2018-12-18 13:32:58 +00:00
commit a8794c4225

View file

@ -0,0 +1,8 @@
# frozen_string_literal: true
# Enable hashed storage, in development mode, for all projects by default.
Gitlab::Seeder.quiet do
ApplicationSetting.create_from_defaults unless ApplicationSetting.current_without_cache
ApplicationSetting.current_without_cache.update!(hashed_storage_enabled: true)
print '.'
end