mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
Previously we were doing 100 queries for new messages being sent to the main hacker school channels; they were faster than many similar instances because they were all done within 1 transaction, but still, send_message_backend would be spending up to 200ms (and 148 queries) querying the database with the previous code on prod; this new version should do a fixed number of database queries per message. (imported from commit 3799e63aebb6f017932ddb0fe1f6209281c0ddcf)
17 KiB
17 KiB