mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 15:05:45 +00:00
http: connection: merge hackney option lists instead of concatenating them
this ensures the right pools are used
This commit is contained in:
parent
2a83c0ba93
commit
50ba4ba2c9
|
@ -31,6 +31,6 @@ defmodule Pleroma.HTTP.Connection do
|
||||||
#
|
#
|
||||||
defp hackney_options(opts) do
|
defp hackney_options(opts) do
|
||||||
options = Keyword.get(opts, :adapter, [])
|
options = Keyword.get(opts, :adapter, [])
|
||||||
@hackney_options ++ options
|
Keyword.merge(@hackney_options, options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue