mirror of https://github.com/zulip/zulip.git
cache_helpers: Remove select_related call for Client.
There are no foreign keys for Client and so there are no related objects to select using select_related.
This commit is contained in:
parent
a871d7d90e
commit
290973585c
|
@ -98,7 +98,7 @@ cache_fillers: Dict[
|
|||
] = {
|
||||
"user": (get_users, user_cache_items, 3600 * 24 * 7, 10000),
|
||||
"client": (
|
||||
lambda: Client.objects.select_related().all(),
|
||||
lambda: Client.objects.all(),
|
||||
client_cache_items,
|
||||
3600 * 24 * 7,
|
||||
10000,
|
||||
|
|
Loading…
Reference in New Issue