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
jobs
mailers
models PERF: Improve topic_user.liked update performance when moving posts 2021-07-13 12:30:38 +01:00
serializers
services
views