diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-08-14 17:48:22 +0300 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-08-18 22:34:14 +0000 |
commit | 44e2136191a579cafd91dbe8fd91255e080f21f2 (patch) | |
tree | 4ec9703aa900e35d1a62fae2e3d4e7a7d2928e1e | |
parent | beab94d6898f8985e19e30dc24416d311c3f04c7 (diff) | |
download | pleroma-44e2136191a579cafd91dbe8fd91255e080f21f2.tar.gz |
don't close connection in gun adapter on reusing
-rw-r--r-- | lib/pleroma/http/http.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex index 3ad891d11..d493a8b4a 100644 --- a/lib/pleroma/http/http.ex +++ b/lib/pleroma/http/http.ex @@ -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 |