don't close connection in gun adapter on reusing
This commit is contained in:
parent
e0b52ca086
commit
55a5523acc
@ -70,6 +70,7 @@ defmodule Pleroma.HTTP do
|
|||||||
adapter_opts =
|
adapter_opts =
|
||||||
Keyword.get(options, :adapter, [])
|
Keyword.get(options, :adapter, [])
|
||||||
|> Keyword.put(:conn, conn)
|
|> Keyword.put(:conn, conn)
|
||||||
|
|> Keyword.put(:close_conn, false)
|
||||||
|
|
||||||
Keyword.put(options, :adapter, adapter_opts)
|
Keyword.put(options, :adapter, adapter_opts)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user