Skip to content

Commit 947ad1f

Browse files
committed
https://github.com/bonfire-networks/bonfire-app/issues/1581
1 parent 19329e1 commit 947ad1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/activities.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,7 @@ defmodule Bonfire.Social.Activities do
13471347
opts
13481348
) do
13491349
objects
1350+
# FIXME: this is causing n+1 queries for ap_activity when loading a feed with unknown-type remote posts
13501351
|> Bonfire.Common.Repo.Preload.maybe_preloads_per_nested_schema(
13511352
object_nested_under || activity_nested_under ++ [:object],
13521353
preload_nested,

0 commit comments

Comments
 (0)