discourse/plugins/chat/app
Alan Guo Xiang Tan ed11ee9d05
PERF: Reduce memory footprint of Chat::AutoRemove::HandleCategoryUpdated (#28332)
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.
2024-08-14 09:30:36 +08:00
..
controllers/chat DEV: Remove summarization code (#27373) 2024-07-02 08:51:47 -07:00
jobs DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
models DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
policies DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
queries/chat DEV: adds first_messages/last_messages to thread SDK (#26861) 2024-05-03 17:30:39 +02:00
serializers/chat fix: allow staff and direct message enabled groups to create personal chats 2024-06-25 12:17:22 +02:00
services/chat PERF: Reduce memory footprint of Chat::AutoRemove::HandleCategoryUpdated (#28332) 2024-08-14 09:30:36 +08:00
validators/chat FIX: Remove chat default channel setting (#28170) 2024-07-31 14:12:10 -03:00
views PERF: fix performance of chat email notifications 2024-06-10 14:25:06 +02:00