mirror of
https://github.com/zulip/zulip.git
synced 2026-07-21 21:05:48 +08:00
Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
We had a few bugs where we were using a raw Django database query to get a UserProfile object. This might seem OK, but going through memcached is more efficient, and also guarantees that we get back the .select_related() version of the object, so that if we later access related fields like user_profile.realm.domain, we don't end up doing a second database query as well. Fixing these should in practice save a substantial number of database queries on handling update_status_list requests, which happen very often and access user_profile.realm.domain. (imported from commit 0a2027da1b5bbc7a4f6c6927aca498530d7a4977) |
||
|---|---|---|
| api | ||
| assets | ||
| bots | ||
| certs | ||
| confirmation | ||
| humbug | ||
| node_modules | ||
| servers | ||
| templates | ||
| tools | ||
| zephyr | ||
| .gitignore | ||
| manage.py | ||