mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 05:27:38 +08:00
ed11ee9d05
This commit seeks to reduce the memory footprint of `Chat::AutoRemove::HandleCategoryUpdated.call` by optimizing the `Chat::AutoRemove::HandleCategoryUpdated#remove_users_without_channel_permission` method which was loading all the ActiveRecord users objects into memory at once. This change updates the method call to load the ActiveRecord user objects in batches instead. |
||
---|---|---|
.. | ||
automation | ||
chat | ||
checklist | ||
discourse-details | ||
discourse-lazy-videos | ||
discourse-local-dates | ||
discourse-narrative-bot | ||
discourse-presence | ||
footnote | ||
poll | ||
spoiler-alert | ||
styleguide |