correct pool and uniform headers format
[akkoma] / lib / mix / tasks / pleroma / frontend.ex
index 2adbf8d72c9835cfbc01cf76aaabc306952742cc..484af6da70bd3d77ba6aa3c91b0499e6490aa3d4 100644 (file)
@@ -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}