don't close connection in gun adapter on reusing

This commit is contained in:
Alex S 2019-08-14 17:48:22 +03:00
parent e0b52ca086
commit 55a5523acc

View File

@ -70,6 +70,7 @@ defmodule Pleroma.HTTP do
adapter_opts =
Keyword.get(options, :adapter, [])
|> Keyword.put(:conn, conn)
|> Keyword.put(:close_conn, false)
Keyword.put(options, :adapter, adapter_opts)
end