diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-09-02 09:16:51 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-09-02 09:16:51 +0300 |
commit | 79f65b4374908a32ebf39db176a30a01152a9141 (patch) | |
tree | 257910dc25d20f8878e9e997d30ffeafc74f2fec /lib/mix/tasks | |
parent | 5e8adf91b46c3f23ec423d53afccbb062df4a241 (diff) | |
download | pleroma-79f65b4374908a32ebf39db176a30a01152a9141.tar.gz |
correct pool and uniform headers format
Diffstat (limited to 'lib/mix/tasks')
-rw-r--r-- | lib/mix/tasks/pleroma/frontend.ex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/frontend.ex b/lib/mix/tasks/pleroma/frontend.ex index 2adbf8d72..484af6da7 100644 --- a/lib/mix/tasks/pleroma/frontend.ex +++ b/lib/mix/tasks/pleroma/frontend.ex @@ -124,7 +124,9 @@ 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, [], timeout: 120_000, recv_timeout: 120_000) do + Pleroma.HTTP.get(url, [], + adapter: [pool: :media, timeout: 120_000, recv_timeout: 120_000] + ) do unzip(zip_body, dest) else e -> {:error, e} |