diff options
author | lain <lain@soykaf.club> | 2018-05-13 12:07:11 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-05-13 12:07:11 +0200 |
commit | 1027d1f6963b495a5abc67b05447619ce7d429db (patch) | |
tree | f0db443918ca300057ab15af7c0d7275851b224c /lib | |
parent | a5c9dd0a2aa792ed075c6ff83b1de262a1529026 (diff) | |
download | pleroma-1027d1f6963b495a5abc67b05447619ce7d429db.tar.gz |
Remove 'unlisted' handling for now.
It's just too slow (over 1 second on small systems, haven't looked at
the queries in detail yet). We'll need some other way to handle it.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 491ad3705..4bd56d123 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -233,7 +233,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do q = fetch_activities_query(["https://www.w3.org/ns/activitystreams#Public"], opts) q - |> restrict_unlisted() + # Too slow + # |> restrict_unlisted() |> Repo.all() |> Enum.reverse() end |