mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
cbd021db15
Index on linkable_type and linkable_id should increase performance of this subquery https://github.com/discourse/discourse/blob/main/app/services/sidebar_site_settings_backfiller.rb#L86 Also, distinct is removing duplicates which are unnecessary.