little polishing

This commit is contained in:
Alexander Strizhakov 2020-03-06 21:24:19 +03:00
commit 78282dc983
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
4 changed files with 14 additions and 12 deletions

View file

@ -6,6 +6,7 @@ defmodule Pleroma.Pool.Connections do
use GenServer
alias Pleroma.Config
alias Pleroma.Gun
require Logger
@ -19,8 +20,6 @@ defmodule Pleroma.Pool.Connections do
defstruct conns: %{}, opts: []
alias Pleroma.Gun
@spec start_link({atom(), keyword()}) :: {:ok, pid()}
def start_link({name, opts}) do
GenServer.start_link(__MODULE__, opts, name: name)