diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-04-01 19:49:09 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-04-01 19:49:09 +0300 |
commit | 2f2bd7fe72f474b7177c751a2dc3af716622ba91 (patch) | |
tree | 0f09b03ec1e06b25200571628f8bd0dac17d7e3d /lib/mix/tasks/pleroma | |
parent | bfec45bf740f9fcfcea92bbded6bd2c146dc64c1 (diff) | |
download | pleroma-2f2bd7fe72f474b7177c751a2dc3af716622ba91.tar.gz |
Ability to control the output of account/pleroma/relationship in statuses in order to improve the rendering performance.
See `[:extensions, output_relationships_in_statuses_by_default]` setting and `with_relationships` param.
Diffstat (limited to 'lib/mix/tasks/pleroma')
-rw-r--r-- | lib/mix/tasks/pleroma/benchmark.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/benchmark.ex b/lib/mix/tasks/pleroma/benchmark.ex index a4885b70c..b2bbe40ac 100644 --- a/lib/mix/tasks/pleroma/benchmark.ex +++ b/lib/mix/tasks/pleroma/benchmark.ex @@ -67,7 +67,8 @@ defmodule Mix.Tasks.Pleroma.Benchmark do Pleroma.Web.MastodonAPI.StatusView.render("index.json", %{ activities: activities, for: user, - as: :activity + as: :activity, + skip_relationships: true }) end }, |