remove pool and timeout options which duplicate with the default

This commit is contained in:
Hakaba Hitoyo 2018-12-06 11:23:15 +09:00
commit 27792b2d77
5 changed files with 9 additions and 22 deletions

View file

@ -162,12 +162,7 @@ defmodule Pleroma.Web.Salmon do
poster.(
salmon,
feed,
[{"Content-Type", "application/magic-envelope+xml"}],
adapter: [
timeout: 10000,
recv_timeout: 20000,
pool: :default
]
[{"Content-Type", "application/magic-envelope+xml"}]
) do
Logger.debug(fn -> "Pushed to #{salmon}, code #{code}" end)
else