mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 16:41:21 +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. |
||
|---|---|---|
| .. | ||
| admin | ||
| events_controller_spec.rb | ||
| invitees_controller_spec.rb | ||
| site_spec.rb | ||
| sort_event_topics_spec.rb | ||