no need in this
This commit is contained in:
parent
3bc3e61dc5
commit
af12d08da7
@ -19,11 +19,7 @@ defmodule Pleroma.Gun.Connections do
|
||||
|
||||
@spec start_link({atom(), keyword()}) :: {:ok, pid()} | :ignore
|
||||
def start_link({name, opts}) do
|
||||
if Application.get_env(:tesla, :adapter) == Tesla.Adapter.Gun do
|
||||
GenServer.start_link(__MODULE__, opts, name: name)
|
||||
else
|
||||
:ignore
|
||||
end
|
||||
GenServer.start_link(__MODULE__, opts, name: name)
|
||||
end
|
||||
|
||||
@impl true
|
||||
|
Loading…
Reference in New Issue
Block a user