ReverseProxy: create Client.Wrapper to call client from config
Speeds up recompilation by reducing compile-time cycles
This commit is contained in:
parent
b221d77a6d
commit
1c3fe43d23
3 changed files with 30 additions and 19 deletions
|
|
@ -411,7 +411,7 @@ defmodule Pleroma.ReverseProxy do
|
|||
{:ok, :no_duration_limit, :no_duration_limit}
|
||||
end
|
||||
|
||||
defp client, do: Pleroma.ReverseProxy.Client
|
||||
defp client, do: Pleroma.ReverseProxy.Client.Wrapper
|
||||
|
||||
defp track_failed_url(url, error, opts) do
|
||||
ttl =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue