mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
These two endpoints make up ~85% of requests to Zulip servers; since presence is also a performance-critical endpoint, having them share the same cache increases how hot it stays in memcached, in addition to making the presence endpoint faster. This comes at the very slightly cost of one extra field. Checks for the `is_bot` column are switched to the equivalent `bot_type` check, since the columns are slightly duplicative, and we can get away with only checking bot_type.
8.3 KiB
8.3 KiB