X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fhttp%2Fex_aws.ex;h=5cac3532f7cfd899b64b1c038106a1d2ce36ab5f;hb=9c672ecbb5d4477cd16d2139a2cb66d3923ac5c8;hp=e53e640779d4aa3b9c52db00e6754c8a4d7e9b2b;hpb=d884b6f704b3d6e5f4b09349224a0c498b75a09b;p=akkoma diff --git a/lib/pleroma/http/ex_aws.ex b/lib/pleroma/http/ex_aws.ex index e53e64077..5cac3532f 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_new(http_opts, :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}}