little polishing
This commit is contained in:
parent
c93c3096d5
commit
78282dc983
4 changed files with 14 additions and 12 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue