Enable Hashed Storage by default in development mode via seed_fu

This commit is contained in:
Gabriel Mazetto 2018-12-17 20:19:13 +01:00
parent 37da7f2382
commit 61b14a2026

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