diff --git a/lib/pleroma/gun/connections.ex b/lib/pleroma/gun/connections.ex index 336306ce8..dc96b876c 100644 --- a/lib/pleroma/gun/connections.ex +++ b/lib/pleroma/gun/connections.ex @@ -13,9 +13,9 @@ defmodule Pleroma.Gun.Connections do defstruct conns: %{} - def start_link(name \\ __MODULE__) do + def start_link(_) do if Application.get_env(:tesla, :adapter) == Tesla.Adapter.Gun do - GenServer.start_link(__MODULE__, [], name: name) + GenServer.start_link(__MODULE__, []) else :ignore end