mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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.
This plugin is still in active development and may change frequently
Documentation
The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.
For user documentation, see Discourse Chat.
For developer documentation, see Discourse Documentation.