projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a83c0b
)
http: connection: merge hackney option lists instead of concatenating them
author
William Pitcock
<nenolod@dereferenced.org>
Thu, 7 Mar 2019 23:31:59 +0000
(23:31 +0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Fri, 8 Mar 2019 22:56:16 +0000
(22:56 +0000)
this ensures the right pools are used
lib/pleroma/http/connection.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/http/connection.ex
b/lib/pleroma/http/connection.ex
index b798eaa5ac63e54dc079b9ed20732f85d0a9600e..cc2e96e2b28302fc36af84ddc261a8567fddbbc4 100644
(file)
--- 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