aboutsummaryrefslogtreecommitdiff
path: root/lib/mix/tasks/pleroma/frontend.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-09-08 11:20:31 +0000
committerrinpatch <rinpatch@sdf.org>2020-09-08 11:20:31 +0000
commitd34dc4a7469b97e28ca4fffc8b2387c937ab56d8 (patch)
tree5920e433356a6e118443298cabf8dff2384ee921 /lib/mix/tasks/pleroma/frontend.ex
parentc5434dbefc5e6a25ffb72debe8ed9e09d77bf885 (diff)
parentd8a48f838697ce6f1d37f5504c1e51b316aed037 (diff)
downloadpleroma-d34dc4a7469b97e28ca4fffc8b2387c937ab56d8.tar.gz
Merge branch 'fix/2108-adapter-options' into 'develop'
Adapter options unification Closes #2108 See merge request pleroma/pleroma!2952
Diffstat (limited to 'lib/mix/tasks/pleroma/frontend.ex')
-rw-r--r--lib/mix/tasks/pleroma/frontend.ex4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/mix/tasks/pleroma/frontend.ex b/lib/mix/tasks/pleroma/frontend.ex
index 1957b1d84..cbce81ab9 100644
--- a/lib/mix/tasks/pleroma/frontend.ex
+++ b/lib/mix/tasks/pleroma/frontend.ex
@@ -124,9 +124,7 @@ defmodule Mix.Tasks.Pleroma.Frontend do
url = String.replace(frontend_info["build_url"], "${ref}", frontend_info["ref"])
with {:ok, %{status: 200, body: zip_body}} <-
- Pleroma.HTTP.get(url, [],
- adapter: [pool: :media, timeout: 120_000, recv_timeout: 120_000]
- ) do
+ Pleroma.HTTP.get(url, [], pool: :media, recv_timeout: 120_000) do
unzip(zip_body, dest)
else
e -> {:error, e}