remove pool and timeout options which duplicate with the default
[akkoma] / lib / pleroma / web / salmon / salmon.ex
index 97251c05e6eb0ea42f5f25e1137ec25f24f6542b..0e2cfddd0ab7d7ec8b267ea311871f423ff0c2e0 100644 (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