From 55a5523accf5095e12e2f60b06f19ace49d0a3b8 Mon Sep 17 00:00:00 2001 From: Alex S Date: Wed, 14 Aug 2019 17:48:22 +0300 Subject: [PATCH] don't close connection in gun adapter on reusing --- lib/pleroma/http/http.ex | 1 + 1 file changed, 1 insertion(+) 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