summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-09-02 10:33:43 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-09-02 10:33:43 +0300
commit1c57ef44983e150f3cc016290fe99f159eb79cb0 (patch)
tree434a23c3485ee192463d00caecab6d5ad58204dd
parent79f65b4374908a32ebf39db176a30a01152a9141 (diff)
default pool for tz_data client
-rw-r--r--lib/pleroma/http/tzdata.ex4
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}}