Files
zulip/zerver/lib
Alex Vandiver c29e11de93 cache_helpers: Use the same select_related as the cache methods use.
Only prefetching `realm` and `bot_owner` means that the cache values
filled by this process differ from the cache values that would be
stored on a cache miss -- leading to extra database queries for those
objects.

Use the same `base_get_user_queryset()` to ensure we get the same
related prefetches.
2025-02-13 12:40:53 -08:00
..