mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 00:24:19 +08:00
There was two issues: - using the `TopicListItemSerializer` was fetching way more than we need and also expecting includes from other plugins (assign for example), switching to our own dedicated serializer seems a better choice here - event dates were not preloaded - fixed a spec which was supposed to track N+1 but was commented I also improved our fabricator to limit the boilerplate needed. We might need few more indices to improve perf event more here but going to merge this first. |
||
|---|---|---|
| .. | ||
| discourse_post_event | ||
| user_timezone_serializer.rb | ||