aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/http/connection.ex
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2019-03-07 23:31:59 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2019-03-08 22:56:16 +0000
commit50ba4ba2c9ebe522f5981d19e51f7ae41a02e7d8 (patch)
treeb1f6977be084757aefdf4ef7e036e775d2f134a1 /lib/pleroma/http/connection.ex
parent2a83c0ba935355b4ada582315de68b456e727af7 (diff)
downloadpleroma-50ba4ba2c9ebe522f5981d19e51f7ae41a02e7d8.tar.gz
http: connection: merge hackney option lists instead of concatenating them
this ensures the right pools are used
Diffstat (limited to 'lib/pleroma/http/connection.ex')
-rw-r--r--lib/pleroma/http/connection.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/http/connection.ex b/lib/pleroma/http/connection.ex
index b798eaa5a..cc2e96e2b 100644
--- a/lib/pleroma/http/connection.ex
+++ b/lib/pleroma/http/connection.ex
@@ -31,6 +31,6 @@ defmodule Pleroma.HTTP.Connection do
#
defp hackney_options(opts) do
options = Keyword.get(opts, :adapter, [])
- @hackney_options ++ options
+ Keyword.merge(@hackney_options, options)
end
end