gun ConnectionPool: Re-add a missing cast for remove_client
This commit is contained in:
parent
4ce6179dc7
commit
dab1d8c98e
2 changed files with 12 additions and 4 deletions
|
|
@ -45,7 +45,7 @@ defmodule Pleroma.Gun.ConnectionPool do
|
|||
# so instead we use cast + monitor
|
||||
|
||||
ref = Process.monitor(worker_pid)
|
||||
if register, do: GenServer.cast(worker_pid, {:add_client, self(), true})
|
||||
if register, do: GenServer.cast(worker_pid, {:add_client, self()})
|
||||
|
||||
receive do
|
||||
{:conn_pid, pid} ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue