Longer timeouts for outgoing federation.
This commit is contained in:
parent
42633406b3
commit
6a184115a2
3 changed files with 5 additions and 5 deletions
|
|
@ -132,7 +132,7 @@ defmodule Pleroma.Web.Salmon do
|
|||
end
|
||||
|
||||
defp send_to_user(%{info: %{"salmon" => salmon}}, feed, poster) do
|
||||
poster.(salmon, feed, [{"Content-Type", "application/magic-envelope+xml"}])
|
||||
poster.(salmon, feed, [{"Content-Type", "application/magic-envelope+xml"}], timeout: 10000, recv_timeout: 20000)
|
||||
end
|
||||
|
||||
defp send_to_user(_,_,_), do: nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue