mirror of
https://github.com/discourse/discourse.git
synced 2025-02-01 06:59:29 +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. |
||
---|---|---|
.. | ||
controllers/chat | ||
jobs | ||
models | ||
policies | ||
queries/chat | ||
serializers/chat | ||
services/chat | ||
validators/chat | ||
views |