diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-09-02 10:33:43 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-09-02 10:33:43 +0300 |
commit | 1c57ef44983e150f3cc016290fe99f159eb79cb0 (patch) | |
tree | 434a23c3485ee192463d00caecab6d5ad58204dd | |
parent | 79f65b4374908a32ebf39db176a30a01152a9141 (diff) | |
download | pleroma-1c57ef44983e150f3cc016290fe99f159eb79cb0.tar.gz |
default pool for tz_data client
-rw-r--r-- | lib/pleroma/http/tzdata.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/http/tzdata.ex b/lib/pleroma/http/tzdata.ex index 356799aab..4539ac359 100644 --- a/lib/pleroma/http/tzdata.ex +++ b/lib/pleroma/http/tzdata.ex @@ -11,7 +11,7 @@ defmodule Pleroma.HTTP.Tzdata do @impl true def get(url, headers, options) do - options = Keyword.put_new(options, :adapter, pool: :upload) + options = Keyword.put_new(options, :adapter, pool: :default) with {:ok, %Tesla.Env{} = env} <- HTTP.get(url, headers, options) do {:ok, {env.status, env.headers, env.body}} @@ -20,7 +20,7 @@ defmodule Pleroma.HTTP.Tzdata do @impl true def head(url, headers, options) do - options = Keyword.put_new(options, :adapter, pool: :upload) + options = Keyword.put_new(options, :adapter, pool: :default) with {:ok, %Tesla.Env{} = env} <- HTTP.head(url, headers, options) do {:ok, {env.status, env.headers}} |