Skip to content

Commit

Permalink
perf(river): preload response owners
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Aug 6, 2024
1 parent cae17e1 commit e9a1ee9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions views/default/river/elements/responses.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
'order_by' => [new OrderByClause('time_created', 'DESC')],
'distinct' => false,
'metadata_name_value_pairs' => ['level' => 1],
'preload_owners' => true,
'preload_containers' => true,
]);

// why is this reversing it? because we're asking for the 3 latest
Expand Down

0 comments on commit e9a1ee9

Please sign in to comment.