mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 14:38:46 +00:00
This removes sender names from the message cache, since they aren't guaranteed to be valid, and they're inexpensive to add. This commit will make the message cache entries smaller by removing sender___full_name and sender__short_name fields. Then we add in the sender fields to the message payloads by doing a query against the unique sender ids of the messages we are processing. This change leads to 2 extra database hops for most of our message-related codepaths. The reason there are 2 hops instead of 1 is that we basically re-calculate way too much data to get a no-markdown dictionary.
118 KiB
118 KiB