mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
We noticed via profiling that chat was doing N redis calls per channel. Part of this was from the kick_message_bus_last_id from520d4f504bbeing incorrectly passed down for DM channels rather that public channels, and the other part was from the root MessageBus channel last_id being fetched in ChannelSerializer for every single channel. This commit fixes both issues, for me going from 134 redis calls on page load to 20 locally. Also deletes an old file missed in12a18d4d55
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.