0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 13:59:03 +08:00
discourse/plugins/discourse-data-explorer/db/post_migrate
Penar Musaraj a40930c92c
PERF: Improve user participation default query (#41676)
- Adds a more targeted partial index
- Rewrote the user-participation query to calculate posts, topics,
views, and emails only for users active in pr

This should improve perf considerably, since it hits the index instead
of a table fetch for the topic views.
2026-07-13 16:15:05 -04:00
..
20260713180615_add_topic_views_user_participation_index.rb