mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 23:04:22 +08:00
* Prevent unnecessary Hash#merge in DefaultsProvider#all_clean, Fixes an unnecessary merge which can sometimes cause performance overhead when calling SiteSetting.defaults_provider.all_clean. We don't need to merge the defaults when locale provided is the same as the default locale * Do not check can_lazy_load_categories? in loop, This is a small perf optimization, we don't need to check can_lazy_load_categories? for every category in the site, which looks at the user's groups and upcoming changes every time, we just need to do it once. |
||
|---|---|---|
| .. | ||
| db_provider.rb | ||
| defaults_provider.rb | ||
| dependency_graph.rb | ||
| deprecated_settings.rb | ||
| hidden_provider.rb | ||
| label_formatter.rb | ||
| local_process_provider.rb | ||
| object_uploads_normalizer.rb | ||
| type_supervisor.rb | ||
| validations.rb | ||
| yaml_loader.rb | ||