X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fhttp%2Fex_aws.ex;h=2fe8beafc79777cb1e2ab2935f4d8c67c4929b81;hb=c17d83cd7330d5c874f647a5224a3a130ed88fb0;hp=e53e640779d4aa3b9c52db00e6754c8a4d7e9b2b;hpb=828841968640f67a06ba8e2d0dd7c38b1d9e3729;p=akkoma diff --git a/lib/pleroma/http/ex_aws.ex b/lib/pleroma/http/ex_aws.ex index e53e64077..2fe8beafc 100644 --- a/lib/pleroma/http/ex_aws.ex +++ b/lib/pleroma/http/ex_aws.ex @@ -11,6 +11,8 @@ defmodule Pleroma.HTTP.ExAws do @impl true def request(method, url, body \\ "", headers \\ [], http_opts \\ []) do + http_opts = Keyword.put(http_opts, :adapter, pool: :upload) + case HTTP.request(method, url, body, headers, http_opts) do {:ok, env} -> {:ok, %{status_code: env.status, headers: env.headers, body: env.body}}