diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-08-14 17:48:22 +0300 |
---|---|---|
committer | Alex S <alex.strizhakov@gmail.com> | 2019-08-20 12:41:10 +0300 |
commit | 55a5523accf5095e12e2f60b06f19ace49d0a3b8 (patch) | |
tree | 2b78521f024eaa8c2f14457f6d6b58d28af37610 | |
parent | e0b52ca086b3e3a7c9a4ed5ac3c812fd3a56c45b (diff) | |
download | pleroma-55a5523accf5095e12e2f60b06f19ace49d0a3b8.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 |