08_settings.rb 346 Bytes
Newer Older
1 2 3 4 5 6 7
# We want to enable hashed storage for every new project in development
# Details https://gitlab.com/gitlab-org/gitlab-ce/issues/46241
Gitlab::Seeder.quiet do
  ApplicationSetting.create_from_defaults unless ApplicationSetting.current_without_cache
  ApplicationSetting.current_without_cache.update!(hashed_storage_enabled: true)
  print '.'
end