discourse/plugins
Alan Guo Xiang Tan de79e5628e
PERF: Reduce mem allocation of Chat::AutoRemove::HandleCategoryUpdated (#28393)
This is a follow-up to 671f40ce07 and
ed11ee9d05.

While the optimisations in the previous commits were sound, it did not
resolve the memory bloat we were seeing. It turns out that we call
`.blank?` on the model's result if the model has not been marked
optional. The problem with this is that if the model returns an
ActiveRecord relation, calling `.blank?` on the relation basically loads
everything into memory.

Therefore, this commit removes `users` as a model in the  since it really isn't
a model but just a relation.
2024-08-16 11:35:08 +08:00
..
automation Update translations (#28246) 2024-08-13 16:31:24 +02:00
chat PERF: Reduce mem allocation of Chat::AutoRemove::HandleCategoryUpdated (#28393) 2024-08-16 11:35:08 +08:00
checklist UX: Show error when checkbox change fails (#27968) 2024-07-18 13:22:10 +01:00
discourse-details FIX: allow quote-less details BBCode 2024-06-24 14:16:36 +02:00
discourse-lazy-videos Update translations (#28115) 2024-07-29 15:16:40 +02:00
discourse-local-dates UX: remove whitespace from rendered localdate (#27952) 2024-07-17 09:48:28 -04:00
discourse-narrative-bot Update translations (#28246) 2024-08-13 16:31:24 +02:00
discourse-presence FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
footnote Update translations (#28246) 2024-08-13 16:31:24 +02:00
poll Update translations (#28246) 2024-08-13 16:31:24 +02:00
spoiler-alert Update translations (#28246) 2024-08-13 16:31:24 +02:00
styleguide Update translations (#28246) 2024-08-13 16:31:24 +02:00