discourse/app
David Taylor 800c6e1a68 PERF: Improve topic_user.liked update performance when moving posts
Previously we would re-calculate topic_user.liked for all users who have ever viewed the source or destination topic. This can be very expensive on large sites. Instead, we can use the array of moved post ids to find which users are actually affected by the move, and restrict the update query to only check/update their records.

On an example site this reduced the `update_post_action_cache` time from ~27s to 300ms
2021-07-13 12:30:38 +01:00
..
assets FIX: Various translation string fixes (#13715) 2021-07-13 12:52:13 +03:00
controllers FEATURE: Uppy image uploader with UppyUploadMixin (#13656) 2021-07-13 12:22:00 +10:00
helpers FIX: Do not interpret backreferences in email content 2021-07-08 15:56:09 -07:00
jobs FIX: Do not prevent other topic timers running on error (#13665) 2021-07-08 12:49:58 +10:00
mailers FIX: Do not show In Reply To for group SMTP emails (#13541) 2021-06-28 13:19:17 +10:00
models PERF: Improve topic_user.liked update performance when moving posts 2021-07-13 12:30:38 +01:00
serializers FEATURE: Penalty history improvements (#13359) 2021-07-12 11:36:56 -07:00
services FIX: Let user clear their flair group (#13669) 2021-07-09 12:41:26 +08:00
views FEATURE: add title tag for group detail page (#13702) 2021-07-12 20:05:57 +05:30